Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitHub Token - Restrict Access

I am using GitHub token as the credential for others people. Can make the token only allows the user to clone and pull, but NOT push or delete.


1 Answers

GitHub tokens do not provide access to a repository, it is mainly to provide authentication of the user. Clone or Pull or push are mainly GitHub repository functions and you can manage specific access using Setting --> Contributors for the repository. Select the "Read" option in the contributors option of Repository Settings.

like image 153
Girish Avatar answered Oct 29 '25 18:10

Girish



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!