> ## Documentation Index
> Fetch the complete documentation index at: https://tyk.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the permission catalogue

> Lists every resource and action roles can grant. Available in both editions; "enabled" reports whether roles are active.



## OpenAPI

````yaml /swagger/5.16/ai-studio-swagger.yml get /rbac/permissions
openapi: 3.0.1
info:
  title: Midsommar API
  description: This is the API for the Midsommar user and group management system.
  termsOfService: http://swagger.io/terms/
  contact:
    name: API Support
    url: http://www.swagger.io/support
    email: support@swagger.io
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: '1.0'
servers:
  - url: //localhost:8080/api/v1
security: []
paths:
  /rbac/permissions:
    get:
      tags:
        - rbac
      summary: Get the permission catalogue
      description: >-
        Lists every resource and action roles can grant. Available in both
        editions; "enabled" reports whether roles are active.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.PermissionCatalogueResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    api.PermissionCatalogueResponse:
      type: object
      properties:
        actions:
          type: array
          items:
            $ref: '#/components/schemas/authz.Action'
        enabled:
          type: boolean
        groups:
          type: array
          items:
            type: string
        resources:
          type: array
          items:
            $ref: '#/components/schemas/authz.Resource'
        version:
          type: integer
          description: |-
            Version changes whenever a plugin registers or removes permission
            resources, so clients can tell a cached catalogue is stale.
      description: Permission catalogue
    authz.Action:
      type: string
      enum:
        - read
        - write
        - delete
        - execute
        - publish
      x-enum-varnames:
        - ActionRead
        - ActionWrite
        - ActionDelete
        - ActionExecute
        - ActionPublish
    authz.Resource:
      type: object
      properties:
        actions:
          type: array
          description: Actions lists the actions this resource offers, in display order.
          items:
            $ref: '#/components/schemas/authz.Action'
        description:
          type: string
          description: Description is optional help text for the role editor.
        dynamic:
          type: boolean
          description: |-
            Dynamic marks a resource registered at runtime (plugins) rather than
            in init(); dynamic resources can be replaced and unregistered.
        group:
          type: string
          description: Group is the navigation group the resource belongs to; see Groups.
        key:
          type: string
          description: >-
            Key is the permission resource slug: plural, kebab-case, matching
            the

            route collection segment ("llms", "data-catalogues").
        label:
          type: string
          description: >-
            Label is the human name, matching the admin navigation where one
            exists.
        plugin:
          type: string
          description: |-
            Plugin is the permission key of the plugin that contributed this
            resource ("plugin:<manifest id>"), or "" for built-in resources. The
            role editor groups plugin resources under their plugin.
        plugin_label:
          type: string
          description: PluginLabel is the display name of the contributing plugin.
        privileged:
          type: boolean
          description: |-
            Privileged marks resources whose write/delete can escalate access
            (users, groups, roles, identity providers, plugins). The UI warns.
        scope:
          type: object
          description: >-
            Scope says whether the resource's objects belong to a Workspace and
            how

            Workspace-scoped bindings apply to it; see ScopeKind. Plugin
            resources

            are always global.
          allOf:
            - $ref: '#/components/schemas/authz.ScopeKind'
        scope_parent:
          type: string
          description: >-
            ScopeParent is, for ScopeWorkspaceParent, the key of the resource
            whose

            objects own this one's ("apps" for credentials). Empty otherwise.
        sensitive:
          type: boolean
          description: >-
            Sensitive marks a data class (transcripts, logs, secrets) that is
            split

            out so read can be withheld independently. The UI shows a shield.
    authz.ScopeKind:
      type: string
      enum:
        - ''
        - workspace_write
        - workspace_full
        - workspace_parent
      x-enum-varnames:
        - ScopeGlobal
        - ScopeWorkspaceWrite
        - ScopeWorkspaceFull
        - ScopeWorkspaceParent
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````