-
Notifications
You must be signed in to change notification settings - Fork 139
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
community, org: generate yaml with list of users access levels #3500
community, org: generate yaml with list of users access levels #3500
Conversation
Skipping CI for Draft Pull Request. |
3c78c89
to
008ce84
Compare
See also kubevirt/community#239 |
008ce84
to
5c53877
Compare
Adds a tool robots/cmd/org-access-check that generates a yaml document with the access levels all the users have per a repository. The yaml is structured like this: ```yaml {access-level}: {repository}: - {user1} - ... where access level is (admin|write|maintain) See explanations on repository roles here [1] [1]: https://docs.github.com/en/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization#repository-roles-for-organizations Signed-off-by: Daniel Hiller <[email protected]>
5c53877
to
064ef5a
Compare
Will actually output three yaml files, looking from different angles: * accessPermissions To Repositories To Collaborators * repositories To AccessPermissions To Collaborators * collaborators To AccessPermissions To Repositories Signed-off-by: Daniel Hiller <[email protected]>
064ef5a
to
d1b9230
Compare
/uncc @aglitke @tiraboschi |
/approve Self overriding since there's no impact |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dhiller The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…irt#3500) * community, org: generate yaml with list of users access levels Adds a tool robots/cmd/org-access-check that generates a yaml document with the access levels all the users have per a repository. The yaml is structured like this: ```yaml {access-level}: {repository}: - {user1} - ... where access level is (admin|write|maintain) See explanations on repository roles here [1] [1]: https://docs.github.com/en/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization#repository-roles-for-organizations Signed-off-by: Daniel Hiller <[email protected]> * community, access: output yaml files with access Will actually output three yaml files, looking from different angles: * accessPermissions To Repositories To Collaborators * repositories To AccessPermissions To Collaborators * collaborators To AccessPermissions To Repositories Signed-off-by: Daniel Hiller <[email protected]> --------- Signed-off-by: Daniel Hiller <[email protected]>
What this PR does / why we need it:
Adds a tool
robots/cmd/org-access-check
that generates three yamldocuments with the access levels all the users have per a repository.
Each of the yaml files will enable looking from a different angle:
The first yaml is basically structured like this:
where access level is (admin|write|maintain)
Others are structured likewise.
See explanations on repository roles here 1
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.
Release note: