Date: Fri, 29 Mar 2024 02:09:22 +0000 (UTC)
Message-ID: <2113780303.7403.1711678162818@ip-10-10-7-29.ec2.internal>
Subject: Exported From Confluence
MIME-Version: 1.0
Content-Type: multipart/related;
boundary="----=_Part_7402_677347064.1711678162816"
------=_Part_7402_677347064.1711678162816
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Location: file:///C:/exported.html
Descripti=
on
"Add or remove grouper privileges" will add or remove privil=
eges for a subject and (group or stem). If you are adding a privilege and i=
t already exists (immediate privilege), then it will not fail, and it will =
notify you in the response (still considered a success). If you are removin=
g a privilege, and there was no immediate privileges to remove, it will be =
a success, and will notify you by response code. If you remove a privilege,=
and there is an "effective" privilege still there (which means the subject=
has the privilege, just not directly), it will be a success, and you will =
be notified via response code.
Features
- Will only edit the privileges the web service user (or actAs) is allowe=
d to edit
- Lookup subjects/members by subject lookup (by id, source, identifier, e=
tc)
- Lookup groups/stems by group lookup or stem lookup (name or uuid)
- Returns subject information of the subject
- Returns the group or stem information
- Can actAs another user
- Failsafe, will not fail if adding a privilege that is already there, or=
removing one that is already gone
- Descriptive response codes give information about the existing privileg=
es
- You can pass in multiple privileges (privilegeNames) to assign. E=
ach privilege name will be assigned to each subject. So if you pass i=
n 2 privileges, and 4 subjects, there will be 8 assignments. Note, th=
e privilegeType is a one to many with privilegeName, so it is optional and =
can be derived from the privilege names passed in.
Assign grouper privileges Lite service
- Accepts one subject, one privilege type and name, if allowed, and one g=
roup or stem lookup
- Documentation: SOAP (=
click on assignGrouperPrivileges), REST (click on assignGrouperPrivileges)
- For REST, a request body is required (probably via POST)
- REST request (colon is escaped to %3A): PUT (or POST) /grouper-ws/servi=
cesRest/v1_4_000/grouperPrivileges
- (see documentation above for details): Request object, response object<=
/a>
- Response codes
- Samples (all files with "Lite" in them, click on "download" to =
see file)
Assign grouper privileges service
- Accepts multiple subjects, multiple privileges, if allowed, and one gro=
up or stem lookup
- Documentation: SOAP (=
click on assignGrouperPrivileges), REST (click on assignGrouperPrivileges)
- For REST, a request body is required (probably via POST)
- REST request (colon is escaped to %3A): PUT (or POST) /grouper-ws/servi=
cesRest/v1_6_000/grouperPrivileges
- (see documentation above for details): Request object, response object
- Response codes
- Samples (all files with "Lite" in them, click on "download" to =
see file)
------=_Part_7402_677347064.1711678162816--