Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Fixed bugs with GH repo access #7600

Merged
merged 1 commit into from
Feb 22, 2023
Merged

Fixed bugs with GH repo access #7600

merged 1 commit into from
Feb 22, 2023

Conversation

barankyle
Copy link
Member

@barankyle barankyle commented Feb 18, 2023

Summary

Project update destination check was not comparing the correct URL string.

Added 'hasWriteAccess' to github-repo-access model. This is needed to distinguish whether a user can push to that repo. github-repo-access-refresh now records this based on whether a user has admin, maintain, or write access to the repo. github-repo-access entries are now patched if they exist, to account for changes in write permission.

Updated allowed project find to better express push access.

References

closes #insert number here

Checklist

  • If this PR is still a WIP, convert to a draft
  • When this PR is ready, mark it as "Ready for review"
  • ensure all checks pass
  • Changes have been manually QA'd
  • Changes reviewed by at least 2 approved reviewer

QA Steps

List any additional steps required to QA the changes of this PR, as well as any supplemental images or videos.

Project update destination check was not comparing the correct URL string.

Added 'hasWriteAccess' to github-repo-access model. This is needed to
distinguish whether a user can push to that repo. github-repo-access-refresh now
records this based on whether a user has admin, maintain, or write access to the
repo. github-repo-access entries are now patched if they exist, to account for
changes in write permission.

Updated allowed project find to better express push access.
@speigg speigg added this pull request to the merge queue Feb 22, 2023
Merged via the queue into dev with commit 8b7fd01 Feb 22, 2023
@speigg speigg deleted the repo-access-fixes branch February 22, 2023 22:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants