Created attachment 1088910 [details]
screens of filters of role
Description of problem:
It is not possible to attach more than 20 filters to role. If you attach more than 20 filters, filter will not appear in list.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Go to Administer
3. Click on Role
4. Go to filters
5. Add 20 filters
6. Add extra filter (21.st)
Filter not visible/added
Created redmine issue http://projects.theforeman.org/issues/12380 from this bug
Upstream bug component is Users & Roles
*** Bug 1281608 has been marked as a duplicate of this bug. ***
When this is fixed please also check out https://bugzilla.redhat.com/show_bug.cgi?id=1293458.
You can actually attach more than 20 via hammer but the UI and API will only show 20. Confirmed at the DB level.
You can view all the filters for the roles if you click the "Filters" button next to a Role, note in the attached screenshot there are 8 pages of Filters for the single Role I'm looking at
Created attachment 1114524 [details]
full role list
Moving to POST since upstream bug http://projects.theforeman.org/issues/12380 has been closed
Applied in changeset commit:e3047ef2b3ba32e6b288dc36526310e0d11155e1.
*** Bug 1315271 has been marked as a duplicate of this bug. ***
Verified in SNAP4 - i have created a role 'bz1277444' and added individual filters to it (some with multiple permissions, some with only one, etc.) until I exceeded a count of 20. I then viewed and reloaded page to assure my role still appeared, which it did.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.