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):
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.
Multiple instances of the role you've added
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)
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.