Bug #15427
closed03-roles.rb seeds katello view_* filters for Viewer role multiple times
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1346296
Description of problem:
03-roles.rb seeds katello view_* filters for Viewer role multiple times
On a fresh/upgraded Satellite Viewer role has following filters listed 5 times:
- view_activation_keys
- view_content_hosts
- view_content_views
- view_gpg_keys
- view_host_collections
- view_lifecycle_environments
- view_products
- view_subscriptions
- view_sync_plans
It seems that it was introduced by fix of BZ 1341656
Version-Release number of selected component (if applicable):
How reproducible:
always
Steps to Reproduce:
1. Navigate to Administer -> Roles -> Viewer -> tab Filters
Activation Keys view_activation_keys none
Activation Keys view_activation_keys none
Activation Keys view_activation_keys none
Activation Keys view_activation_keys none
Activation Keys view_activation_keys none
some filters listed 5 times
2. # foreman-rake db:seed
...
Seeding /usr/share/foreman/db/seeds.d/03-roles.rb
...
All seed files executed
3.Navigate to Administer -> Roles -> Viewer -> tab Filters
Activation Keys view_activation_keys none
Activation Keys view_activation_keys none
Activation Keys view_activation_keys none
Activation Keys view_activation_keys none
Activation Keys view_activation_keys none
Activation Keys view_activation_keys none
some filters listed 6 times
Actual results:
multliplicity of filters
Expected results:
no duplicity
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3593 added
Updated by The Foreman Bot over 8 years ago
- Pull request https://github.com/Katello/katello/pull/6132 added
Updated by David Davis over 8 years ago
- Project changed from Foreman to Katello
- Category deleted (
Plugin integration)
Updated by Justin Sherrill over 8 years ago
- Category set to Roles and Permissions
- Translation missing: en.field_release set to 162
- Difficulty set to easy
Updated by Anonymous over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|7c71d45dadedbe262d0d2866db69a3f83b52085a.