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: "pulp-list-requ...@redhat.com" <pulp-list-requ...@redhat.com>
To: pulp-list@redhat.com 
Sent: Monday, April 8, 2013 9:30 PM
Subject: Pulp-list Digest, Vol 41, Issue 5
 
Send Pulp-list mailing list submissions to
    pulp-list@redhat.com

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
    pulp-list-requ...@redhat.com

You can reach the person managing the list at
    pulp-list-ow...@redhat.com

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 <d_josh...@yahoo.com>
To: "pulp-list@redhat.com" <pulp-list@redhat.com>
Subject: [Pulp-list] managing users and roles
Message-ID:
    <1365429993.97225.yahoomail...@web193004.mail.sg3.yahoo.com>
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
Pulp-list@redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list

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

Reply via email to