git-touch icon indicating copy to clipboard operation
git-touch copied to clipboard

How do I get access to private repos (Gitlab)

Open weeebdev opened this issue 4 years ago • 8 comments
trafficstars

The app doesn't read private repos that I don't own in Gitlab, but has been added as Developer or Maintainer.

weeebdev avatar Mar 26 '21 21:03 weeebdev

Sent from my LM-Q730 using FastHub

timo955 avatar Mar 29 '21 02:03 timo955

Sent from my LM-Q730 using FastHub

???

weeebdev avatar Mar 30 '21 16:03 weeebdev

The app doesn't read private repos that I don't own, but has been added as Developer or Maintainer.

I will check to see if I get the same results. What version are you running, what device, etc.


EDIT:


Go to: Settings/Review Permissions


Check 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 just OAuth (without any special features).


The first option seems more probable, according to your explanation of the issue.


luni-moon avatar Mar 30 '21 22:03 luni-moon

The app doesn't read private repos that I don't own, but has been added as Developer or Maintainer.

I will check to see if I get the same results. What version are you running, what device, etc.


EDIT:


Go to: Settings/Review Permissions


Check 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 just OAuth (without any special features).


The first option seems more probable, according to your explanation of the issue.


I am sorry, but I think I didn't understand you. I meant Gitlab, so I can't find Review Permissions there. 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

weeebdev avatar Mar 31 '21 08:03 weeebdev

The app doesn't read private repos that I don't own, but has been added as Developer or Maintainer.

I will check to see if I get the same results. What version are you running, what device, etc.


EDIT:


Go to: Settings/Review Permissions


Check 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 just OAuth (without any special features).


The first option seems more probable, according to your explanation of the issue.


I am sorry, but I think I didn't understand you. I meant Gitlab, so I can't find Review Permissions there. 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

My bad, sorry.

luni-moon avatar Mar 31 '21 09:03 luni-moon

The app doesn't read private repos that I don't own, but has been added as Developer or Maintainer.

I will check to see if I get the same results. What version are you running, what device, etc.

EDIT:

Go to: Settings/Review Permissions

Check 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 just OAuth (without any special features).

The first option seems more probable, according to your explanation of the issue.

I am sorry, but I think I didn't understand you. I meant Gitlab, so I can't find Review Permissions there. 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

My bad, sorry.

No, it's my bad, sorry. I'll edit my issue to make it more obvious 😄

weeebdev avatar Mar 31 '21 18:03 weeebdev

@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.

shreyas1599 avatar Jun 21 '21 06:06 shreyas1599