Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Pagure doesn't expand group membership for ACL purposes, and neither does Bodhi #1810
We learned today that Pagure no longer expands group members when asked for ACL info. Bodhi also doesn't know all the groups a user is part of, because it only pays attention to special groups (like packager or releng). Since neither end is doing it, Bodhi is now unable to grant access to committers who have ACLs through group membership.
@puiterwijk has proposed adding a new query parameter to Pagure's API that would ask it to again expand group membership for us. If that feature is granted to Pagure then Bodhi could just have a small patch that adds that query parameter to the existing query and be back in business.
Alternatively, there is also a Pagure API that can be used to ask for group members. For example:
Bodhi could use this API to expand group membership as well, though this approach would not perform as well as having Pagure expand membership as proposed above.