Project

General

Profile

Actions

Bug #33146

closed

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

Added by Chris Roberts over 3 years ago. Updated over 3 years ago.

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

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

Actions #1

Updated by The Foreman Bot over 3 years ago

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

Updated by Ian Ballou over 3 years ago

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

Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases Katello 4.3.0 added
Actions #4

Updated by Chris Roberts over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF