grouper-users - [grouper-users] gsh permissionAssignments
Subject: Grouper Users - Open Discussion List
List archive
- From: mohan shamachar <>
- To:
- Subject: [grouper-users] gsh permissionAssignments
- Date: Mon, 11 Feb 2013 13:57:13 -0500 (EST)
Hi Chris,
My PHP code still has problem assigning the role. I was able to get the UI to
work by creating the resource attribute.
I'd like to try and see if the gsh works. Is this the correct way to use gsh
to assign the permission?. Thank you.
gsh 0% grouperSession = GrouperSession.startRootSession();
gsh 1% userRole = GroupFinder.findByName(grouperSession,
"AOMS:roles:reporter", true);
gsh 2% permission =
AttributeDefNameFinder.findByName("AOMS:permissions:level1permission", true);
gsh 3% userRole.getPermissionRoleDelegate().assignRolePermission("report",
permission, PermissionAllowed.ALLOWED);
best,
mohan
- [grouper-users] gsh permissionAssignments, mohan shamachar, 02/11/2013
- Re: [grouper-users] gsh permissionAssignments, mohan shamachar, 02/11/2013
- RE: [grouper-users] gsh permissionAssignments, Gagné Sébastien, 02/11/2013
- Re: RE: [grouper-users] gsh permissionAssignments, mohan shamachar, 02/11/2013
- RE: [grouper-users] gsh permissionAssignments, Chris Hyzer, 02/11/2013
- Re: RE: [grouper-users] gsh permissionAssignments, mohan shamachar, 02/11/2013
- RE: RE: [grouper-users] gsh permissionAssignments, Chris Hyzer, 02/11/2013
- Re: RE: RE: [grouper-users] gsh permissionAssignments, mohan shamachar, 02/11/2013
- RE: RE: [grouper-users] gsh permissionAssignments, Chris Hyzer, 02/11/2013
- Re: RE: [grouper-users] gsh permissionAssignments, mohan shamachar, 02/11/2013
- RE: [grouper-users] gsh permissionAssignments, Chris Hyzer, 02/11/2013
- RE: [grouper-users] gsh permissionAssignments, Gagné Sébastien, 02/11/2013
- RE: [grouper-users] gsh permissionAssignments, Chris Hyzer, 02/11/2013
- Re: [grouper-users] gsh permissionAssignments, mohan shamachar, 02/11/2013
Archive powered by MHonArc 2.6.16.