Project

General

Profile

Bug #26673

User with 'edit_host' permission can't view certain parts of content host page

Added by John Mitsch about 3 years ago. Updated about 3 years ago.

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

Description

To repro:

Create a user with 'manager' role (giving them almost all permissions)

Go to content host page and navigate to tabs like 'module streams' or 'errata'

Notice certain parts are missing compared to what the admin user sees, like the 'actions' dropdowns.

We are still using the `edit_content_host` perm and need to find and replace with `edit_host` on those pages.

Associated revisions

Revision 4005b230 (diff)
Added by John Mitsch about 3 years ago

Fixes #26673 - Fix content host permissions

In some pages, we are still using 'edit_content_hosts' permission, which was replaced a while ago with 'edit_hosts'. Users with 'edit_host' permission can't see parts of the page

To test:
- create a user with manager role (which has 'edit_hosts')
- go to pages in the content host details and make sure nothing is missing that an admin user can see

History

#1 Updated by John Mitsch about 3 years ago

  • Assignee set to John Mitsch
  • Category set to Roles and Permissions
  • Description updated (diff)
  • Subject changed from User with 'edit_host to User with 'edit_host' permission can't view certain parts of content host page

#2 Updated by The Foreman Bot about 3 years ago

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

#3 Updated by Jonathon Turel about 3 years ago

  • Target version set to Katello 3.12.0

#4 Updated by James Jeffers about 3 years ago

  • Triaged changed from No to Yes

#5 Updated by John Mitsch about 3 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF