grouper-users - [grouper-users] RE: Can GSH import roles?
Subject: Grouper Users - Open Discussion List
List archive
- From: Chris Hyzer <>
- To: "Sachdeva, Vivek" <>
- Cc: grouper users list <>
- Subject: [grouper-users] RE: Can GSH import roles?
- Date: Tue, 21 Jan 2014 02:13:06 +0000
- Accept-language: en-US
Does this help? https://spaces.internet2.edu/display/Grouper/Grouper+permissions+example Or this? https://spaces.internet2.edu/display/Grouper/Grouper+permissions+allow+and+disallow Thanks, Chris From: Sachdeva, Vivek [mailto:]
Thanks Chris, I tried the gsh script to add about 300 roles and it added successfully. I also created a permission definition using the gsh script. I referred to this link https://spaces.internet2.edu/display/Grouper/GrouperShell+(gsh) to
create permission definition. Now, I need to create the attribute names and attach those to the permission definition. I can not find any example for that. Can you please help? Thanks, Vivek From:
Chris Hyzer <> You can call WS from GrouperClient in a Java program. I you arent the Grouper admin, you have to go that route. If you are the grouper admin, you can use
a grouper client script. Doesn’t matter which you use, though there are more options in GSH. Thanks, Chris
From: Sachdeva, Vivek []
Can I create a simple Java program and call the web service to create role type groups ? Which approach do you think is better or it does not really matter ? Thanks, Vivek From:
Chris Hyzer <> I would create a GSH script with GroupSave… you can xml import with the new import, roles, but that is really intended for importing from an export. Make a script like this: grouperSession = GrouperSession.startRootSession(); role = new GroupSave(grouperSession).assignName("a:b:c").assignDisplayExtension("c").assignDescription("theDescription").assignTypeOfGroup(TypeOfGroup.role).save(); etc save that to a file, and run with: gsh theFile.gsh ok? Thanks, Chris From: Sachdeva, Vivek []
Hi Chris, I want to load quite a few roles initially. Can I use gsh –xmlimport to import the roles? Thanks, Vivek |
- [grouper-users] RE: Can GSH import roles?, Chris Hyzer, 01/20/2014
Archive powered by MHonArc 2.6.16.