Personal access token limited for repository name #2966

Closed
opened 2025-11-02 04:55:31 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @gusta70 on GitHub (Feb 23, 2019).

Always preffered 2FA.
When 2FA is enabled, user must create PAT to access the repo.
But this PAT have permission to ALL repos.

New feature:
at create token, declare repo name, and this token can access only for this repo name.

Originally created by @gusta70 on GitHub (Feb 23, 2019). Always preffered 2FA. When 2FA is enabled, user must create PAT to access the repo. But this PAT have permission to ALL repos. New feature: at create token, declare repo name, and this token can access only for this repo name.
GiteaMirror added the issue/duplicate label 2025-11-02 04:55:31 -06:00
Author
Owner

@lafriks commented on GitHub (Feb 23, 2019):

How that would be different form deploy keys?

@lafriks commented on GitHub (Feb 23, 2019): How that would be different form deploy keys?
Author
Owner

@gusta70 commented on GitHub (Feb 23, 2019):

deploy keys is for ssh only?

@gusta70 commented on GitHub (Feb 23, 2019): deploy keys is for ssh only?
Author
Owner

@silverwind commented on GitHub (Feb 24, 2019):

Duplicate of https://github.com/go-gitea/gitea/issues/2051?

@silverwind commented on GitHub (Feb 24, 2019): Duplicate of https://github.com/go-gitea/gitea/issues/2051?
Author
Owner

@gusta70 commented on GitHub (Feb 24, 2019):

So, 1year and half porposal

@gusta70 commented on GitHub (Feb 24, 2019): So, 1year and half porposal
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2966