Bug 2000063
Summary: | Some of the filters permission needs to be clean | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Devendra Singh <desingh> |
Component: | Content Views | Assignee: | Partha Aji <paji> |
Status: | CLOSED ERRATA | QA Contact: | Devendra Singh <desingh> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.10.0 | CC: | paji, pcreech, zhunting |
Target Milestone: | 6.10.0 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | tfm-rubygem-katello-4.1.1.35-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-11-16 14:13:42 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Devendra Singh
2021-09-01 09:53:00 UTC
Triaging to 6.10 to get confirmation that the permissions observed after upgrade are correct and expected. Connecting redmine issue https://projects.theforeman.org/issues/33527 from this bug Sounds like a fixable legit issue. See https://projects.theforeman.org/issues/33527 for more information Meanwhile Devendra can ya try running this command after upgrade and confirm those perms get removed :) `foreman-rake katello:upgrades:4.1:update_content_import_export_perms` Moving to POST as upstream PR is merged. (In reply to Partha Aji from comment #3) > Sounds like a fixable legit issue. See > https://projects.theforeman.org/issues/33527 for more information > > Meanwhile Devendra can ya try running this command after upgrade and confirm > those perms get removed :) > `foreman-rake katello:upgrades:4.1:update_content_import_export_perms` Before "foreman-rake katello:upgrades:4.1:update_content_import_export_perms" ran: # hammer filter info --id 219 Id: 219 Resource type: Organization Search: none Unlimited?: yes Override?: no Role: Manager Permissions: view_organizations, create_organizations, edit_organizations, destroy_organizations, assign_organizations, import_library_content, export_library_content, import_content, export_content Created at: 2018/03/21 11:10:20 Updated at: 2018/03/21 11:10:20 After `foreman-rake katello:upgrades:4.1:update_content_import_export_perms` ran: # foreman-rake katello:upgrades:4.1:update_content_import_export_perms 'ErbParser' is ignored. 'RubyParser' is ignored. hammer filter info --id 219 Id: 219 Resource type: Organization Search: none Unlimited?: yes Override?: no Role: Manager Permissions: view_organizations, create_organizations, edit_organizations, destroy_organizations, assign_organizations, import_content, import_content, export_content, export_content Created at: 2018/03/21 11:10:20 Updated at: 2018/03/21 11:10:20 It seems the command ` foreman-rake katello:upgrades:4.1:update_content_import_export_perms` creates some duplicate permissions. Connecting redmine issue https://projects.theforeman.org/issues/33678 from this bug Moving to POST as PR associated with redmine 33678 is now merged. Verified on 6.10 snap23 - Upgraded the satellite from 6.9.z to 6.10 snap23. - Checked the filter permission, didn't see the duplicate entry and non-required permissions. hammer filter info --id 219 Id: 219 Resource type: Organization Search: none Unlimited?: yes Override?: no Role: Manager Permissions: view_organizations, create_organizations, edit_organizations, destroy_organizations, assign_organizations, import_content, export_content Created at: 2018/03/21 11:10:20 Updated at: 2018/03/21 11:10:20 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 (Moderate: Satellite 6.10 Release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:4702 |