Skip to content

External status: use admin users to hit VCS API #9104

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

Closed
wants to merge 1 commit into from

Conversation

humitos
Copy link
Member

@humitos humitos commented Apr 13, 2022

We were using AdminPermission.members. However, that will return
RemoteRepositoryRelation.admin=False, so those users may not have permissions
to update the VCS status.

By using AdminPermission.admins we are sure the user selected will have
permissions to make this request.

Front logo Front conversations

We were using `AdminPermission.members`. However, that will return
`RemoteRepositoryRelation.admin=False`, so those users may not have permissions
to update the VCS status.

By using `AdminPermission.admins` we are sure the user selected will have
permissions to make this request.
@humitos
Copy link
Member Author

humitos commented Apr 13, 2022

Meh, this is wrong. This is inside a loop, so we pass to the next one if it fails.

@humitos humitos closed this Apr 13, 2022
@stsewd stsewd deleted the humitos/external-status-admin-users branch April 13, 2022 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant