I found the solution,

the resource path is /v2/consumers/

also when you install package, we have to assign /v2/tasks/ as well into roles.


________________________________
 From: "[email protected]" <[email protected]>
To: [email protected] 
Sent: Monday, April 8, 2013 9:30 PM
Subject: Pulp-list Digest, Vol 41, Issue 5
 
Send Pulp-list mailing list submissions to
    [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
    https://www.redhat.com/mailman/listinfo/pulp-list
or, via email, send a message with subject or body 'help' to
    [email protected]

You can reach the person managing the list at
    [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Pulp-list digest..."


Today's Topics:

   1. managing users and roles (joshi dhaval)


----------------------------------------------------------------------

Message: 1
Date: Mon, 8 Apr 2013 22:06:33 +0800 (SGT)
From: joshi dhaval <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [Pulp-list] managing users and roles
Message-ID:
    <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hello Experts,

i have created role called consumer-admin in pulp and tried to assign 
permission CRUDE for /consumers/ api.

but when i try to install package using below command

pulp-admin rpm consumer package install ...... ? to install package it give me 
authentication failure ..

what's wrong .. ? ?is that /consumers/ resource is not correct ?

1) how to manage role so that users can do the installation on particular 
consumers only
2) how can we create permissions so that users can install, uninstall, update 
packages from?particular?repository only.

Regards,
D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://www.redhat.com/archives/pulp-list/attachments/20130408/7225c149/attachment.html>

------------------------------

_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

End of Pulp-list Digest, Vol 41, Issue 5
****************************************
_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to