Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] assignGrouperPrivileges and replaceAllExisting

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] assignGrouperPrivileges and replaceAllExisting


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Julio Polo <>, "" <>
  • Subject: RE: [grouper-users] assignGrouperPrivileges and replaceAllExisting
  • Date: Tue, 19 Apr 2011 11:55:41 -0400
  • Accept-language: en-US
  • Acceptlanguage: en-US

assignGrouperPrivileges takes the privilege, the owner, and a set of
subjects. If you are not sending replaceAllExisting, then it will assign
that privilege for that owner to those subjects. If you set
replaceAllExisting to true, then it will make the list be whatever you sent,
and remove the orphans.

Ok, how about an example.

Right now jsmith, rjohnson, and kwilson have READ on group:
school:folder:someGroup

If you call assignGrouperPrivileges with READ on group:
school:folder:someGroup, and send in subjects rjohnson, and horeily, and
replaceAllExisting to true, then it will ignore rjohnson since that was
already assigned, it will unassign jsmith and kwilson, and it will add
horeily since it didn't already exist.

Got it? :)

Thanks,
Chris

-----Original Message-----
From:


[mailto:]
On Behalf Of Julio Polo
Sent: Monday, April 18, 2011 10:26 PM
To:

Subject: [grouper-users] assignGrouperPrivileges and replaceAllExisting

This is the only explanation I found for replaceAllExisting in the
context of assignGrouperPrivileges:

"T to replace existing members, F or blank to just change assignments.
Only for allowed T ".

Can someone elaborate on this, or better yet, provide an example?

I tried playing around and setting replaceAllExisting to T or F under
different scenarios, and I still can't figure out what it's supposed
to do.

Julio Polo
Identity and Access Management
University of Hawaii



Archive powered by MHonArc 2.6.16.

Top of Page