grouper-dev - assign permissions web service
Subject: Grouper Developers Forum
List archive
- From: Chris Hyzer <>
- To: Grouper Dev <>
- Subject: assign permissions web service
- Date: Mon, 19 Apr 2010 19:37:59 -0400
- Accept-language: en-US
- Acceptlanguage: en-US
I finished the assign permissions web service. This is
for Grouper’s permission management capability where it can store central
permissions/privileges for applications. Jira: https://bugs.internet2.edu/jira/browse/GRP-417 Wiki: https://spaces.internet2.edu/display/GrouperWG/v1.6.0+Assign+Permissions Description
Assign or remove permissions. These permissions can be on roles or
subjects (in the context of a role). You can lookup permissions to assign by attribute definition name, or
attribute definition id All assignments will be filtered for security based on the logged in or
acted as user (security rules (on groups or any memberships) are on attribute framework wiki). Generally
you need ATTR_UPDATE on the attributeDef of the permission, and UPDATE on the
Role (group). The returned data will include the attribute assignments and a normalized
list of references (owner objects e.g. group/etc, attribute definitions,
attribute names, etc), if things changed or were already assigned, etc You can assign multiple permissions to multiple owners, actions, etc
(non-lite) permissionType is a required field (from enum PermissionType), must be: role
or role_subject (for permissions assigned to a subject in the context of a
role) permissionAssignOperation is required and is the operation to perform for
attribute on owners, from enum PermissionAssignOperation: assign_permission,
remove_permission. In this case, assigning a permission will not assign
if already there (but you can edit its metadata e.g. . Features
Assign permissions
lite service
Get permission
assignments service
Grouper client (command line) API: java -jar grouperClient.jar
--operation=assignPermissionsWs --permissionType=role|role_subject
--permissionAssignOperation=assign_permission|remove_permission
[--permissionDefNameNames=a:b,b:c] [-permissionDefNameUuids=1a,2b]
[--roleNames=a:b:c,a:b:d] [--roleUuids=1234,abcd] [--subjectRole0SubjectId=12]
[--subjectRole0SubjectIdentifier=ab] [--subjectRole0SourceId=xyz]
[--subjectRole0RoleName=3c] [--subjectRole0RoleUuid=1a]
[--attributeAssignUuids=a:b,b:c] [--actions=read,write]
[--assignmentDisabledTime=2010/03/05_17:05:13.123]
[--assignmentEnabledTime=2010/03/05_17:05:13.123] [--assignmentNotes=someNotes]
[--delegatable=TRUE|FALSE|GRANT] [--includeGroupDetail=true|false]
[--includeSubjectDetail=true|false] [--subjectAttributeNames=name0,name1]
[--actAsSubjectId=subjId] [--actAsSubjectIdentifier=subjIdent]
[--actAsSubjectSource=source] [--saveResultsToFile=fileName]
[--outputTemplate=somePattern] [--paramName0=name0] [--paramValue0=value1]
[--paramNameX=xthParamName] [--paramValueX=xthParamValue] [--debug=true]
[--clientVersion=someVersion] |
- assign permissions web service, Chris Hyzer, 04/19/2010
Archive powered by MHonArc 2.6.16.