Project

General

Profile

Bug #25907

403 on attempt to open Packages Actions tab as user with viewer role

Added by Partha Aji over 3 years ago. Updated over 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

User with viewer role can't open Packages Actions tab on Content Host details page, gets redirected to 'The page you were looking for doesn't exist.' page instead.

How reproducible:
Always

Steps to Reproduce:
1. Create non-admin user with viewer role
2. Open any content host, select Packages -> Actions
3.

Actual results:
Redirected to 'The page you were looking for doesn't exist.'

Expected results:
As user doesn't have enough permissions to perform any package actions, corresponding tab shouldn't be visible to him.

Associated revisions

Revision 9a0cb8fd (diff)
Added by Partha Aji over 3 years ago

Fixes #25907 - host permissions for package action (#7941)

This commit hides the "Content Host -> Packages -> Actions" menu item if
the user does not have the appropriate edit_hosts permissions.

History

#1 Updated by Partha Aji over 3 years ago

  • Bugzilla link set to 1662405

#2 Updated by John Mitsch over 3 years ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.12.0

#3 Updated by The Foreman Bot over 3 years ago

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

#4 Updated by Anonymous over 3 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF