Skip to content

Organization and Repository level access token #25900

@folliehiyuki

Description

@folliehiyuki

Feature Description

It would be nice to have a more limited access token than user access token.

  • A Repository-level access token should only be able to read/write its repository, call /repos/ API endpoints and configure repository webhooks.

  • An Organization-level access token should be able to authenticate to /orgs/ endpoints and do the same things as Repository-level access token for all the repositories inside it.

I'm a long time GitLab user, so this is just my way of wanting its feature in Gitea. Also, Repository and Organization access token should also have configurable scopes at creation time.

Ref: https://docs.gitlab.com/ee/security/token_overview.html

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions