Bug 1277444 - Can't attach more than 20 filters to role.
Can't attach more than 20 filters to role.
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Users & Roles (Show other bugs)
Unspecified Unspecified
unspecified Severity high (vote)
: Beta
: --
Assigned To: Shimon Shtein
Corey Welton
: Triaged
: 1281608 1315271 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2015-11-03 05:39 EST by Stefan Nemeth
Modified: 2017-10-11 06:58 EDT (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-07-27 04:59:00 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
screens of filters of role (182.09 KB, image/png)
2015-11-03 05:39 EST, Stefan Nemeth
no flags Details
full role list (126.09 KB, image/png)
2016-01-13 17:13 EST, Mike McCune
no flags Details

  None (edit)
Description Stefan Nemeth 2015-11-03 05:39:39 EST
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):

How reproducible:


Steps to Reproduce:
1. Go to Administer 
2. Roles
3. Click on Role
4. Go to filters
5. Add 20 filters
6. Add extra filter (21.st)

Actual results:

Filter not visible/added

Expected results:

Filter visible/added

Additional info:
Comment 1 Bryan Kearney 2015-11-03 09:54:29 EST
Created redmine issue http://projects.theforeman.org/issues/12380 from this bug
Comment 2 Bryan Kearney 2015-11-03 12:05:26 EST
Upstream bug component is Users & Roles
Comment 3 Bryan Kearney 2015-11-13 11:27:47 EST
*** Bug 1281608 has been marked as a duplicate of this bug. ***
Comment 6 Bryan Kearney 2015-12-29 10:33:20 EST
When this is fixed please also check out https://bugzilla.redhat.com/show_bug.cgi?id=1293458.
Comment 7 Mike McCune 2016-01-13 17:09:28 EST
You can actually attach more than 20 via hammer but the UI and API will only show 20. Confirmed at the DB level.
Comment 8 Mike McCune 2016-01-13 17:11:35 EST

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
Comment 9 Mike McCune 2016-01-13 17:13 EST
Created attachment 1114524 [details]
full role list
Comment 10 Bryan Kearney 2016-02-17 12:08:11 EST
Moving to POST since upstream bug http://projects.theforeman.org/issues/12380 has been closed
Shimon Shtein
Applied in changeset commit:e3047ef2b3ba32e6b288dc36526310e0d11155e1.
Comment 12 Bryan Kearney 2016-03-16 08:25:54 EDT
*** Bug 1315271 has been marked as a duplicate of this bug. ***
Comment 13 Corey Welton 2016-03-18 17:34:49 EDT
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.
Comment 16 errata-xmlrpc 2016-07-27 04:59:00 EDT
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.


Note You need to log in before you can comment on or make changes to this bug.