Project

General

Profile

Bug #15943

Katello does not render 403 page properly, resulting in error

Added by Chris Duryee almost 3 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
Difficulty:
easy
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Katello is unable to render the 403 page currently, and will raise an exception instead.

To repro:

  • create org 1, add a product
  • create org 2
  • create user, add viewer role and add to org 2
  • log out, log in as new user
  • attempt to view /products/1/repositories

result: exception

History

#1 Updated by Chris Duryee almost 3 years ago

  • Description updated (diff)

#2 Updated by Justin Sherrill almost 3 years ago

  • Category changed from Web UI to API
  • Legacy Backlogs Release (now unused) set to 114
  • Difficulty set to easy

#3 Updated by David Davis over 2 years ago

Another test case:

1. Create a user with no permissions
2. Log into user, go to any bastion page (e.g. /activation_keys)

Result: exception

#4 Updated by David Davis over 2 years ago

  • Related to Bug #17757: Standard user is unable to access "Red Hat Subscriptions" page added

#5 Updated by David Davis over 2 years ago

  • Related to deleted (Bug #17757: Standard user is unable to access "Red Hat Subscriptions" page)

Also available in: Atom PDF