Project

Profile

Help

Issue #386

closed

permission documentation has wrong resource path

Added by mhrivnak about 9 years ago. Updated about 5 years ago.

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

Description

Description of problem:
Looking at the examples here: http://pulp-dev-guide.readthedocs.org/en/latest/integration/rest-api/permission/actions.html

... the resource seems to be incorrect. Using "/repositories/" as the resource does not actually work. Using "/v2/repositories/" does work. The examples should be updated to have the "/v2" prefix.

Version-Release number of selected component (if applicable):
2.3.0-0.33.beta

How reproducible:
always

Steps to Reproduce:
1. $ pulp-admin auth permission grant --login=me --resource='/repositories/' -o read
2. $ pulp-admin rpm repo list

Actual results:
error: Insufficient Permissions

Expected results:
list of repositories

Additional info:
The following command causes the repo list to work:

$ pulp-admin auth permission grant --login=me --resource='/v2/repositories/' -o read

+ This bug was cloned from Bugzilla Bug #1034316 +

Also available in: Atom PDF