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 +

Actions #1

Updated by amacdona@redhat.com about 9 years ago

Fixed with https://github.com/pulp/pulp/pull/1194

+ This comment was cloned from Bugzilla #1034316 comment 1 +

Actions #3

Updated by bmbouter about 9 years ago

  • Category deleted (1)
  • Tags Documentation added

Documentation is now a Tag not a Category.

Actions #4

Updated by dkliban@redhat.com over 8 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE
Actions #6

Updated by bmbouter about 5 years ago

  • Severity set to 2. Medium
Actions #7

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF