IssueRaiser

Organization and Repository level access token

### 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_

Posted by folliehiyuki on Jul 15, 2023, 3:38 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.2,500 issues0 comments

github (Other)

Organization and Repository level access token

folliehiyukiJul 15, 2023, 3:38 PM

### 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_

Comments (0)

No comments yet. Start the discussion.

Comment on this issue