grouper_get_privileges
Retrieve privileges on a Grouper group or stem, optionally filtered by subject or privilege name, and view subject details, privilege types, and revokability.
Instructions
Get privileges on a group or stem, optionally filtered by subject or privilege name. Returns formatted list showing all privileges with subject information, privilege type, and whether they are revokable. Use groupName to query group privileges or stemName to query stem privileges. Results may include both user subjects (from sources like 'jdbc2_test' or 'ldap') and group subjects (from source 'g:gsa'). Group subjects are identified by their UUID as the Subject ID and their group name as the Subject Name.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "grouper_get_privileges"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stemName | No | The full name of the stem to query privileges on (use this OR groupName, not both) | |
| groupName | No | The full name of the group to query privileges on (use this OR stemName, not both) | |
| subjectId | No | Optional: Filter results to a specific subject ID | |
| privilegeName | No | Optional: Filter to a specific privilege name (e.g., "admin", "read") | |
| subjectSourceId | No | Optional: Subject source ID for filtering | |
| subjectIdentifier | No | Optional: Subject identifier for filtering |