grouper-users - [grouper-users] RE: Assign Limits via gsh
Subject: Grouper Users - Open Discussion List
List archive
- From: Chris Hyzer <>
- To: "Sachdeva, Vivek" <>, "" <>
- Subject: [grouper-users] RE: Assign Limits via gsh
- Date: Tue, 6 May 2014 17:53:09 +0000
- Accept-language: en-US
Looks good, I added this example to the wiki https://spaces.internet2.edu/display/Grouper/Grouper+permission+limits Thanks, Chris From: [mailto:]
On Behalf Of Sachdeva, Vivek I think I have figured it myself. This is how I am doing it. grouperSession = GrouperSession.startRootSession(); AttributeAssign attributeAssign = new PermissionFinder().addAction("Create").addPermissionName("ucla:permissions:CV").addRole("ucla:roles:english_dept_admin").assignPermissionType(PermissionEntry.PermissionType.role).findPermission(true).getAttributeAssign(); attributeAssign.getAttributeValueDelegate().assignValue("ucla:limits:group_id", "ucla:hierarchy:faculty"); Thanks, Vivek From:
vivek sachdeva <> Hi , I am trying to assign limits via gsh script. I am having the following inputs. Role Id (ex: ucla:roles:english_dept_admin) Action : (ex: Create) Permission Name : (ex: CV) I tried to find any examples but could not find. Can someone help ? Thanks, Vivek |
- [grouper-users] Assign Limits via gsh, Sachdeva, Vivek, 05/06/2014
- [grouper-users] Re: Assign Limits via gsh, Sachdeva, Vivek, 05/06/2014
- [grouper-users] RE: Assign Limits via gsh, Chris Hyzer, 05/06/2014
- [grouper-users] Re: Assign Limits via gsh, Sachdeva, Vivek, 05/06/2014
Archive powered by MHonArc 2.6.16.