Issue #567
closedPulp raises an authentication exception when a user is not authorized
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 +
Updated by jcline@redhat.com about 9 years ago
https://github.com/pulp/pulp/pull/1389
+ This comment was cloned from Bugzilla #1150128 comment 1 +
Updated by cduryee about 9 years ago
fixed in pulp 2.6.0-0.2.beta
+ This comment was cloned from Bugzilla #1150128 comment 2 +
Updated by igulina@redhat.com about 9 years ago
observed that in pulp 2.4.4 it is about authentication like in https://bugzilla.redhat.com/show_bug.cgi?id=1081534#c11
rpm -qa pulp-server
pulp-server-2.6.0-0.2.beta.el6.noarch
pulp-consumer -u consumer-admin register --consumer-id test04
Enter password:
Permission denied: user consumer-admin cannot perform CREATE.
+ This comment was cloned from Bugzilla #1150128 comment 3 +
Updated by rbarlow about 9 years ago
- Status changed from 6 to CLOSED - CURRENTRELEASE
Updated by bmbouter almost 4 years ago
- Category deleted (
14)
We are removing the 'API' category per open floor discussion June 16, 2020.