Description of problem: When user goes in to "Add permissions" for a role, those which user has already added can be added multiple times. Version-Release number of selected component (if applicable): Satellite-6.0.4-RHEL-6-20140806.0 How reproducible: Steps to Reproduce: 1. Create a new role, "foobar" 2. foobar > Filters and permissions > Add permission 3. Add role "access_dashboard"; submit 4. Observe the newly added permission(s) on the role 5. Repeat steps 2-4 a half dozen times. Actual results: Multiple instances of the role you've added Expected results: User should only be able to add role once. TBH, I think the "Add permissions" option should be renamed to "Edit permissions", and the two tables where user can move roles back and forth should remember what has been added already, thus disallow dupes and allowing removal (which [removal] I think is a separate bz being written up) Additional info:
nm, you can delete extraneous -- in the resulting perms list view, you can select the dropdown. Regardless, core of bz is still valid.
This is deliberate, as filters are additive and you may build up a role with multiple filters with different search terms.