List Privileges
list_privilegesList every privilege defined for the Bridge app: id, key and description. Privileges are what roles are built from; this also lists privileges no role grants yet. list_roles shows which privileges each role grants. Use this before create_role / update_role, before gating a flag rule on a privilege, or to find the key for update_privilege or delete_privilege. Same as bridge privilege list. What a role can do is only the app's default setup until you have read it here. Control access with a flag rule on a privilege (preferred) or on the role key, never with a hard-coded role check in app code. A privilege rule matches the whole key: privileges contains "REPORTS_VIEW" does not match REPORTS_VIEW_ALL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Id of the Bridge app to act on for this call (see list_apps). Omit to use the current app. |