Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Assign creation privileges with gsh

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Assign creation privileges with gsh


Chronological Thread 
  • From: Gasperowicz Jérémy <>
  • To: Chris Hyzer <>
  • Cc: Gagné Sébastien <>, "" <>
  • Subject: Re: [grouper-users] Assign creation privileges with gsh
  • Date: Wed, 05 Dec 2012 16:05:34 +0100

So, Sebastien and Chris you put me on the way,
With your advices, i found what i was missing.

In order to give the possibility to create a folder (stem) to a group or a member I do :
grantPriv("name_of_stem", SubjectID, NamingPrivilege.STEM);

In order to give the possibility to create a group to a given group or a member I do :
grantPriv("name_of_stem", SubjectID, Privilege.getInstance("create"));

I don't know if it's the good method but It works !

Thanks,

Le 05/12/2012 15:47, Chris Hyzer a écrit :
That will work, and I assume you have seen this

https://spaces.internet2.edu/display/Grouper/GrouperShell+(gsh)

-----Original Message-----
From:


[mailto:]
On Behalf Of Gagné Sébastien
Sent: Wednesday, December 05, 2012 9:09 AM
To: Gasperowicz Jérémy;

Subject: RE: [grouper-users] Assign creation privileges with gsh

Here's how I did it using the API, you can probably do it in GSH :

stemAutres = new StemSave() OR StemFinder.
stemAutres.grantPriv(Subject ID, Privilege.getInstance("create"), false);


-----Message d'origine-----
De :


[mailto:]
De la part de Gasperowicz Jérémy
Envoyé : 5 décembre 2012 04:47
À :

Objet : [grouper-users] Assign creation privileges with gsh

Hi,

I found how to assign creation privileges like create goup or/and create
folder to a given group in a given stem by UI but i would like now to do the
same with gsh.
Is there a training or wiki page which talks about that ?

Thanks,
Jérémy Gasperowicz




Archive powered by MHonArc 2.6.16.

Top of Page