Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Stem admin privileges

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Stem admin privileges


Chronological Thread 
  • From: "Doppala, Karthik" <>
  • To: "" <>
  • Subject: [grouper-users] Stem admin privileges
  • Date: Thu, 3 Jul 2014 22:09:18 +0000
  • Accept-language: en-US

Hi All,

I use the following commands to assign admin privilege to an individual or a group on a folder. I noticed that that when members in this admin group login they do not see the “create group” link under the folder, they are able to add members to an already existing group but cannot add a group themselves even though they have been assigned admin privilege. Am I missing something? Appreciate your input.

 

sh 2% grouperSession = GrouperSession.startRootSession();

 

gsh 3% stem1 = StemFinder.findByName(grouperSession, "ucla:test:group");

 

gsh 4% group1 = GroupFinder.findByName(grouperSession, "ucla:testAdmin");

 

gsh 5% RuleApi.inheritGroupPrivileges(SubjectFinder.findRootSubject(), stem1, Stem.Scope.SUB, group1.toSubject(), Privilege.getInstances("admin"));

 

 

RuleApi.runRulesForOwner(stem1)

 

Thanks,

Karthik




Archive powered by MHonArc 2.6.16.

Top of Page