-
Notifications
You must be signed in to change notification settings - Fork 55
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
Add getting groups and users with given access rights for Pagure #834
Add getting groups and users with given access rights for Pagure #834
Conversation
Build succeeded. ✔️ pre-commit SUCCESS in 2m 44s |
Introduce aliases `all_admins` and `all_committers` and also support groups in allowed_pr_authors and allowed_committers config options Fixes packit/packit#2088 Requires packit/ogr#834
Also refactor the other methods and fix the logic regarding groups. E.g. can_merge_pr will now return True for users who are members of group that can merge PR.
8718fe3
to
c8bc591
Compare
Build succeeded. ✔️ pre-commit SUCCESS in 2m 24s |
Build succeeded (gate pipeline). ✔️ pre-commit SUCCESS in 2m 17s |
1767349
into
packit:main
Introduce aliases `all_admins` and `all_committers` and also support groups in allowed_pr_authors and allowed_committers config options Fixes packit/packit#2088 Requires packit/ogr#834
Introduce aliases `all_admins` and `all_committers` and also support groups in allowed_pr_authors and allowed_committers config options Fixes packit/packit#2088 Requires packit/ogr#834
Introduce aliases `all_admins` and `all_committers` and also support groups in allowed_pr_authors and allowed_committers config options Fixes packit/packit#2088 Requires packit/ogr#834
Support aliases and groups in allowed_* config options for Koji Introduce aliases all_admins and all_committers and also support groups in allowed_pr_authors and allowed_committers config options Fixes packit/packit#2088 Requires packit/ogr#834 TODO: Write new tests or update the old ones to cover new functionality (needs packit/ogr#834) Update or write new documentation in packit/packit.dev. (packit/packit.dev#814) RELEASE NOTES BEGIN allowed_pr_authors and allowed_committers now allow specifying groups and also aliases all_admins and all_committers (corresponding to the access to the repository). RELEASE NOTES END Reviewed-by: Maja Massarini Reviewed-by: Laura Barcziová Reviewed-by: Nikola Forró
Needed for packit/packit#2088
RELEASE NOTES BEGIN
For Pagure there are 2 new methods available: one for getting users with specified access rights and one for getting members of a group.
RELEASE NOTES END