Passbolt · Capability

Passbolt API — Permissions

Passbolt API — Permissions. 1 operations. Lead operation: Get permissions for a resource.. Self-contained Naftiko capability covering one Passbolt business surface.

Run with Naftiko PassboltPermissions

What You Can Do

GET
Indexpermissionsresource — Get permissions for a resource.
/v1/permissions/resource/resourceid-json

MCP Tools

get-permissions-resource

Get permissions for a resource.

read-only idempotent

Capability Spec

passbolt-permissions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Passbolt API — Permissions
  description: 'Passbolt API — Permissions. 1 operations. Lead operation: Get permissions for a resource.. Self-contained
    Naftiko capability covering one Passbolt business surface.'
  tags:
  - Passbolt
  - Permissions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PASSBOLT_API_KEY: PASSBOLT_API_KEY
capability:
  consumes:
  - type: http
    namespace: passbolt-permissions
    baseUri: https://passbolt.local
    description: Passbolt API — Permissions business capability. Self-contained, no shared references.
    resources:
    - name: permissions-resource-resourceId}.json
      path: /permissions/resource/{resourceId}.json
      operations:
      - name: indexpermissionsresource
        method: GET
        description: Get permissions for a resource.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.PASSBOLT_API_KEY}}'
  exposes:
  - type: rest
    namespace: passbolt-permissions-rest
    port: 8080
    description: REST adapter for Passbolt API — Permissions. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/permissions/resource/resourceid-json
      name: permissions-resource-resourceid-json
      description: REST surface for permissions-resource-resourceId}.json.
      operations:
      - method: GET
        name: indexpermissionsresource
        description: Get permissions for a resource.
        call: passbolt-permissions.indexpermissionsresource
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: passbolt-permissions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Passbolt API — Permissions. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-permissions-resource
      description: Get permissions for a resource.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: passbolt-permissions.indexpermissionsresource
      outputParameters:
      - type: object
        mapping: $.