Project

General

Profile

Bug #33146

Some of the "filters" permission changed after the upgrade.

Added by Chris Roberts 10 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Roles and Permissions
Target version:
Difficulty:
medium
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

Associated revisions

Revision 82c3516a (diff)
Added by Chris Roberts 10 months ago

Fixes #33146 - Rename gpg model and update references

History

#1 Updated by The Foreman Bot 10 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9496 added

#2 Updated by Ian Ballou 10 months ago

  • Triaged changed from No to Yes
  • Target version changed from Katello 4.1.3 to Katello 4.2.0

#3 Updated by The Foreman Bot 10 months ago

  • Fixed in Releases Katello 4.3.0 added

#4 Updated by Chris Roberts 10 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF