Skip to Content.
Sympa Menu

grouper-users - RE: AssignGrouperPrivileges in GrouperClient

Subject: Grouper Users - Open Discussion List

List archive

RE: AssignGrouperPrivileges in GrouperClient


Chronological Thread 
  • From: Paul Gazda <>
  • To: Chris Hyzer <>, "" <>
  • Subject: RE: AssignGrouperPrivileges in GrouperClient
  • Date: Wed, 4 Mar 2009 07:53:47 -0700
  • Accept-language: en-US
  • Acceptlanguage: en-US

Chris,

Thanks for checking this out, sorry it doesn’t work, though. A few questions:

When do you think 1.5 will be available?

What is the default group privilege assigned to a member when it is added? I’m thinking I can use GcAssignGrouperPrivilegesLite for members that I need to be different from the default. Will that work?  

 

Paul Gazda

 


From: Chris Hyzer [mailto:]
Sent: Tuesday, March 03, 2009 1:24 PM
To: Chris Hyzer; Paul Gazda;
Subject: RE: AssignGrouperPrivileges in GrouperClient

 

Im sorry, I tried this and it is not currently possible.  I added a bug, not sure when it will be ready…  I would think not until at least 1.5

 

https://bugs.internet2.edu/jira/browse/GRP-242

 

Thanks,

Chris

 

From: Chris Hyzer
Sent: Tuesday, March 03, 2009 9:15 AM
To: 'Paul Gazda';
Subject: RE: AssignGrouperPrivileges in GrouperClient

 

I think you should be able to do this with GcAddMember… just set the field name to the right privilege name (e.g. readers, viewers, etc).  Did you update from grouper 1.4 branch recently?  If you have, it should work, if it doesn’t work, try to get the latest from 1.4.  I remember adding something in this area a few weeks ago:

 

cvs -d:pserver::/home/cvs/i2mi login

cvs -d:pserver::/home/cvs/i2mi export -r GROUPER_1_4_BRANCH grouper

cvs -d:pserver::/home/cvs/i2mi export -r GROUPER_1_4_BRANCH grouper-ws

 

Let me know how it goes,

Chris

 

 

 

From: Paul Gazda [mailto:]
Sent: Tuesday, March 03, 2009 9:02 AM
To: Chris Hyzer;
Subject: RE: AssignGrouperPrivileges in GrouperClient

 

What I am looking for is a way to assign group privileges to members when a group is added or updated. I have one set of people and/or groups called “owners” who would be added with ADMIN privilege, and another set of members who would have VIEW privileges. It looks like I can add all of the members in one operation using GcAddMember. Ideally, I would like to set each member’s group privilege at the time they are added. The only way I see of doing it is by executing GcAssignGrouperPrivilegesLite once for each member, which seems very expensive. Am I not seeing an easier way of doing this?

Thanks.

 

Paul Gazda

 


From: Chris Hyzer [mailto:]
Sent: Monday, March 02, 2009 9:59 PM
To: Paul Gazda;
Subject: RE: AssignGrouperPrivileges in GrouperClient

 

We could probably add a web service that allows multiple assignments.  Not sure how it would work…  the same privilege of the same resource assigned to multiple subjects?  I would also add that to the client API.  Is that what you need?

 

Thanks,

Chris

 

From: Paul Gazda [mailto:]
Sent: Monday, March 02, 2009 7:27 PM
To: Chris Hyzer;
Subject: AssignGrouperPrivileges in GrouperClient

 

Chris,

I see that you currently have only GcAssignGrouperPrivilegesLite in GrouperClient 1.4.1. Are you planning to add a GcAssignGrouperPrivileges that will allow assignment of privileges to more than one subject in a single invocation?

 

Paul Gazda




Archive powered by MHonArc 2.6.16.

Top of Page