Skip to Content.
Sympa Menu

grouper-users - naming a group as a subject with gsh

Subject: Grouper Users - Open Discussion List

List archive

naming a group as a subject with gsh


Chronological Thread 
  • From: Scott Koranda <>
  • To: "" <>
  • Subject: naming a group as a subject with gsh
  • Date: Mon, 2 Feb 2009 11:02:18 -0600

I want to use the grantPriv() method in gsh to grant
the NamingPrivilege.STEM privilege to an existing group. When
I invoke grantPriv() as

grantPriv("A:B", "A:B:C", NamingPrivilege.STEM)

so that members of group "A:B:C" are granted the privilege on
stem "A:B" I receive the error

// Error: subject not found: A:B:C

I tried using GroupFinder.findByName() to retrieve the group
as an object and the retrieval worked, but I cannot input
the group object as the second argument to grantPriv() as it
returns an error.

How can I set the privilege on "A:B" for members of group
"A:B:C"?

Scott




Archive powered by MHonArc 2.6.16.

Top of Page