Closed Bug 1310220 Opened 8 years ago Closed 7 years ago

update Permissions UI to to allow for management of User Roles

Categories

(Release Engineering Graveyard :: Applications: Balrog (backend), defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Assigned: njirap)

References

Details

(Whiteboard: [lang=js][lang=html][ready])

As part of the Multiple Signoff project, Users will need to be granted Roles to allow them to Signoff on changes. The backend will be modified to associate Users with Roles, but we need UI for managing them. We already have existing UI in "Permissions" that is User-centric, so we should enhance it to allow for Role configuration as well.
Blocks: 1278974
Assignee: nobody → njirap
Hi Ben.

A user that does not have permissions gets and empty response from the api i.e `{}`. Could we edit a user not yet assigned roles to also be the same empty response as opposed to a 404 with `No roles found for user`
(In reply to Njira from comment #1)
> Hi Ben.
> 
> A user that does not have permissions gets and empty response from the api
> i.e `{}`. Could we edit a user not yet assigned roles to also be the same
> empty response as opposed to a 404 with `No roles found for user`

Yes, that's a good idea. Do you want to do that, or should I?
Doing it now. The 404 was an inconvenience from my end. Thanks.
Commit pushed to master at https://github.com/mozilla/balrog

https://github.com/mozilla/balrog/commit/061f4bb0e5c3f748957e54d32ba6212d34ada45b
bug 1310220: Return empty list when user has no roles (#195). r=bhearsum
Depends on: 1324850
Priority: -- → P1
Whiteboard: [lang=js][lang=html][ready]
Depends on: 1335427
In production. Thank you very much Njira!!
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Product: Release Engineering → Release Engineering Graveyard
You need to log in before you can comment on or make changes to this bug.