Bug #33146
closedSome of the "filters" permission changed after the upgrade.
Description
Description of problem: Some of the "filters" permission changed after the upgrade.
Version-Release number of selected component (if applicable):
6.9 Snap7
How reproducible:
always
Steps to Reproduce:
1. Install the 6.8 base version.
2. Check the filter's permission before the upgrade.
{'id': '361', 'resource type': 'katello::syncplan', 'search': 'none', 'unlimited?': 'true', 'override?': 'false', 'role': 'organization admin', 'permissions': 'view_sync_plans, create_sync_plans, edit_sync_plans, destroy_sync_plans'}
{'id': '365', 'resource type': 'katello::gpgkey', 'search': 'none', 'unlimited?': 'true', 'override?': 'false', 'role': 'viewer', 'permissions': 'view_gpg_keys, view_content_credentials'}
4. Upgrade the satellite from 6.8 to 6.9.
5. permission of "katello::syncplan" and "katello::gpgkey" change.
{'id': '361', 'resource type': 'katello::syncplan', 'search': 'none', 'unlimited?': 'true', 'override?': 'false', 'role': 'organization admin', 'permissions': 'view_sync_plans, create_sync_plans, edit_sync_plans, destroy_sync_plans, sync_sync_plans'}
{'id': '365', 'resource type': 'katello::gpgkey', 'search': 'none', 'unlimited?': 'true', 'override?': 'false', 'role': 'viewer', 'permissions': 'view_content_credentials, view_content_credentials'}
Actual results:
permission of "katello::syncplan" and "katello::gpgkey" changed after upgrade.
Expected results:
permission of "katello::syncplan" and "katello::gpgkey" should not change after upgrade.
all that is left here is to rename the gpg key model to content_credentials, which means:
renaming the class and all references
renaming the database table
Updating the resource name of any permission/filter records
Updated by The Foreman Bot about 3 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/9496 added
Updated by Ian Ballou about 3 years ago
- Target version changed from Katello 4.1.3 to Katello 4.2.0
- Triaged changed from No to Yes
Updated by The Foreman Bot about 3 years ago
- Fixed in Releases Katello 4.3.0 added
Updated by Chris Roberts about 3 years ago
- Status changed from Ready For Testing to Closed