← Back to team overview

openstack team mailing list archive

Re: swift containers panel permissions?

 

thanks for your cases


On Wed, Mar 13, 2013 at 10:48 PM, Wyllys Ingersoll <
Wyllys.Ingersoll@xxxxxxxxxx> wrote:

>
> On Mar 12, 2013, at 6:56 PM, Kieran Spear <kispear@xxxxxxxxx> wrote:
>
> > 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.
>
>
> I figured it out.  The swift proxy-config had the following entry:
>
> [filter:keystoneauth]
> use = egg:swift#keystoneauth
> operator_roles = admin, swiftoperator
>
> But I did not have any "swift operator" role defined. I must have
> cut-and-pasted that entry from an online guide somewhere.  I changed
> "swiftoperator" to "Member" and now the non-admin users can access the
> container information.
>
> thanks,
> -Wyllys
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Gareth
*Cloud Computing, Openstack, Fitness, Basketball
*
*Novice Openstack contributer*
*My promise: if you find any spelling or grammar mistake in my email from
Mar 1 2013, notice me *
*and I'll donate 1$ or 1¥ to open organization specified by you.*

References