fedora-infra / fas

Fedora Account System
https://admin.fedoraproject.org/accounts
GNU General Public License v2.0
40 stars 50 forks source link

Group Administrator can't edit other users in a group #229

Closed ryanlerch closed 7 years ago

ryanlerch commented 7 years ago

Currently, when looking at the group details page, for example

/group/details/101861

and you are an administrator of that group, the controls that allow you to edit the permissions of each user are not showing up. I have confirmed this both on the infra stage, and locally.

Digging into it a bit, the templates/groups/members-list.xhtml template uses the user_is_group_admin variable which is declared in the templates/groups/details.xhtml template with:

user_is_group_admin = request.authenticated_is_group_admin(group.name)

and even if i am admin of a group, this is being set to False.