-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Organization and Repository level access token #25900
Comments
I just discovered that someone already asked the same question in https://discourse.gitea.io/t/are-there-organisation-access-tokens/7082. |
Hello Looks interesting. At repository level we have yet keys application to allow external acces with ssh key. In other case, we need an http access and token use. Thanks a lot |
I think an organization-level access token could be the first target because it's similar to a user-level one. |
This would make it way more secure when using ArgoCD in a kuberentes setup. This way we could give a more fine grained access based on the orgs. |
Any development on that ? It would be really useful |
I think it can be solved with "bot account" #13044, and reuse current user-level token mechanism. But I would name it "Role User" in this context to make it less confusing. #13044 has already mentioned a lot properties, and here are those especially useful for the org/repo level access problem here
|
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
The text was updated successfully, but these errors were encountered: