Closed Bug 1342231 Opened 8 years ago Closed 8 years ago

disable role granting for users without permissions

Categories

(Release Engineering Graveyard :: Applications: Balrog (frontend), defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Assigned: bolaji.olajide)

References

Details

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

Users are not allowed to have Roles unless they have a Permission. We should disable the "Roles" section of the permissions modal when a User doesn't yet have a permission (this will be the case for Users that are newly added). The relevant code is likely to be: https://github.com/mozilla/balrog/blob/ebbaffe5d47bf7a52735898cf460da751119a842/ui/app/templates/permissions_modal.html#L12 https://github.com/mozilla/balrog/blob/ebbaffe5d47bf7a52735898cf460da751119a842/ui/app/js/controllers/user_edit_controller.js#L19
Assignee: nobody → bolaji.olajide
Depends on: 1355970
This was put into production today. Thank you for contributing Bolaji!
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
(In reply to Ben Hearsum (:bhearsum) from comment #1) > This was put into production today. Thank you for contributing Bolaji! Awesome. Looking forward to fixing more balrog bugs. LOL Glad i could be of assistance ben.
Product: Release Engineering → Release Engineering Graveyard
You need to log in before you can comment on or make changes to this bug.