mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-03-21 21:51:42 -05:00
How do I get access to private repos (Gitlab) #142
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @weeebdev on GitHub (Mar 26, 2021).
The app doesn't read private repos that I don't own in Gitlab, but has been added as Developer or Maintainer.
@timo955 commented on GitHub (Mar 29, 2021):
Sent from my LM-Q730 using FastHub
@weeebdev commented on GitHub (Mar 30, 2021):
???
@luni-moon commented on GitHub (Mar 30, 2021):
I will check to see if I get the same results. What version are you running, what device, etc.
EDIT:
Go to:
Settings/Review PermissionsCheck near the bottom of the page for a line that says something like,
Full control of private repositories. If you do not see that, please redo your permissions to allow this. Hope that helped. If not, please let me know!You might have logged in originally using the option with
OAuth (Public Repos Only)If you remember doing so, you may need to remove your account from the list, temporarily revoke access in the settings directory I mentioned earlier, then log in with the option using justOAuth(without any special features).The first option seems more probable, according to your explanation of the issue.
@weeebdev commented on GitHub (Mar 31, 2021):
I am sorry, but I think I didn't understand you. I meant Gitlab, so I can't find
Review Permissionsthere. Also, for gitlab it's only possible to login via tokens, not OAuth and I already grant all necessary permissions like api, read_user and read_repository@luni-moon commented on GitHub (Mar 31, 2021):
My bad, sorry.
@weeebdev commented on GitHub (Mar 31, 2021):
No, it's my bad, sorry. I'll edit my issue to make it more obvious 😄
@shreyas1599 commented on GitHub (Jun 21, 2021):
@weeebdev can you verify with this endpoint if the repos you wish to be fetched are visible? I'm not a member of any gitlab project so I can't verify. https://gitlab.com/api/v4/users/{your_user_id}/projects?membership=true&Private-Token={your_private_token}. If you aren't aware of your user id you can get it from https://gitlab.com/api/v4/users?username={your_gitlab_username}&Private-Token={your_private_token}
I'll add a fix once you verify it works.
@weeebdev commented on GitHub (Jun 25, 2021):
Nope. I do only see my own public repos (not even private)