← Back to team overview

openstack team mailing list archive

Re: swift containers panel permissions?

 

Hi Wyllys,

On 13 March 2013 04:19, Wyllys Ingersoll <Wyllys.Ingersoll@xxxxxxxxxx> wrote:
> Can someone point me to docs describing how to add/modify/delete permissions for a horizon panel?
>
> I want a non-admin user to be able to access the Swift object-store containers panel in horizon.  Currently, the containers panel.py has the permissions set to:
>     permissions = ('openstack.services.object-store',),
>
> Only users with "Admin" role seem to have access to this panel.  Can this be changed, and if so, where do I look to make the changes?

This permission comes from your keystone service catalog. If you have
an "object-store" entry in your catalog, then all users should see
this.

>
> Also, in general, its pretty ugly for the WSGI server to barf up an "Internal Server Error" for a simple permissions issue.  Has anyone considered making Nova/Horizon fail a little more gracefully in the face of errors rather than the current HTTP 500 status messages?

It generally does. I suspect there's something else going on in your
case, possibly a configuration issue with keystone or swift itself.

Paste the error here and we might be able to work out what's going on:

http://paste.openstack.org/

Cheers,
Kieran

>
>
> thanks,
>   Wyllys Ingersoll
>   eVault
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp


Follow ups

References