Project

Profile

Help

Issue #567

closed

Pulp raises an authentication exception when a user is not authorized

Added by rbarlow about 9 years ago. Updated almost 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.4.0
Platform Release:
2.6.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Description of problem:
Pulp confuses the words authentication and authorization[0]. This leads to confusion with our users[1].

Version-Release number of selected component (if applicable):
2.4.0-1

How reproducible:
Every time.

Steps to Reproduce:
1. Attempt to perform an action that your user is not authorized to perform.

Actual results:
Observe that the raised error is about authentication.

Expected results:
The raised error should be about authorization.

Additional info:
[0] https://github.com/pulp/pulp/blob/master/server/pulp/server/webservices/controllers/decorators.py#L194
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1081534

+ This bug was cloned from Bugzilla Bug #1150128 +

Also available in: Atom PDF