Skip to content
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

verification failed when user added via group sharing #153

Closed
kurpipio opened this issue Jun 23, 2020 · 2 comments
Closed

verification failed when user added via group sharing #153

kurpipio opened this issue Jun 23, 2020 · 2 comments

Comments

@kurpipio
Copy link

currently verification relies on api/v4/projects/${PROJECT_ID} and fails when project is shared with group and user is member of that group, because in such situation API says project_level and group_level are null. Thus we end up in the situation when user has all required permissions, but verification fails.

It's already reported to GitLab https://gitlab.com/gitlab-org/gitlab/-/issues/223832, but still I believe it's a bug that should be fixed here - verification says "no permissions", while user has all required permissions.

@nfriend
Copy link
Contributor

nfriend commented Dec 3, 2020

@kurpipio Thanks for this, this looks like the same as #165. (Well, technically it's the same as this one, since this one was opened first 🙂).

See my comment on that issue for a possible workaround using a project access token - would this work in your situation?

@fgreinacher
Copy link
Contributor

Closing this as the #165 is essentially the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants