Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1034316

Summary: permission documentation has wrong resource path
Product: [Retired] Pulp Reporter: Michael Hrivnak <mhrivnak>
Component: documentationAssignee: amacdona <austin>
Status: CLOSED UPSTREAM QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 2.3CC: austin, pthomas, skarmark
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-28 22:00:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Hrivnak 2013-11-25 15:23:31 UTC
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

Comment 1 amacdona@redhat.com 2014-10-07 14:27:26 UTC
Fixed with https://github.com/pulp/pulp/pull/1194

Comment 3 Brian Bouterse 2015-02-28 22:00:07 UTC
Moved to https://pulp.plan.io/issues/386