Skip to content

feat(permissions): revocable and per-repository tokens #34

Open

Description

@PiquelChips

Scoped tokens are stateless and signed. That keeps them cheap, but:

  • they can't be revoked before they expire;
  • a token works on every repository of the server that issued it;
  • they last at most 7 days, so a long-lived worker needs a fresh token regularly.

Options include a revocation list keyed by token id, binding a token to a repository, and longer-lived tokens once they can be revoked.

Note

Written by Claude Opus 5.5 in Claude Code (via T3 Code)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/permissionsCapabilities, path rules, credentials and tokenssecurityTrust boundaries, authentication and access control

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions