[one-users] Sunstone WebGui buttons lost

Bernhard Waldecker bwaldecker at gmx.at
Tue Nov 22 03:36:33 PST 2011


Yes, the oneadmin has the ID 0 and is in the oneadmin group:


Output oneuser list:

ID GROUP    NAME       PASSWORD
0  oneadmin oneadmin   .....

Output onegroup list:

ID NAME
1 users
0 oneadmin

Output oneacl list:
ID     USER RES_VHNIUTG   RID OPE_CDUMIPpTWY
0       @1     V-NI-T-     *     C-----p---
1       @1     -H-----     *     --U-------

-------- Original-Nachricht --------
> Datum: Tue, 22 Nov 2011 12:01:47 +0100
> Von: "Héctor Sanjuán" <hsanjuan at opennebula.org>
> An: Bernhard Waldecker <bwaldecker at gmx.at>, "users at lists.opennebula.org" <users at lists.opennebula.org>
> Betreff: Re: [one-users] Sunstone WebGui buttons lost

> The gid of the user is read (on the client side javascript) from the
> cookie information. The buttons are hidden if "gid != 0". It does not
> really depend on how ACLs look.
> 
> Does your oneadmin group have id 0 and is the oneadmin user in this
> oneadmin group? It looks like the problem could be there... if you
> created a different administration group or a user not placed in the
> original oneadmin group (regardless of the ACLs you created) then it
> won't show this buttons.
> 
> Héctor Sanjuán
> OpenNebula Developer
> 
> On 22/11/11 11:41, Bernhard Waldecker wrote:
> > Thx for your answer!
> > 
> > Sry, I forgot to say/write that we have the problem with the oneadmin.
> We also created a new user with the same ACLs like the oneadmin, but with no
> success.
> > 
> > Unfortunately we also tried it out with different browsers on different
> OS and to remove the browser cache and cookies.
> > 
> > -------- Original-Nachricht --------
> >> Datum: Tue, 22 Nov 2011 08:41:06 +0100
> >> Von: "Héctor Sanjuán" <hsanjuan at opennebula.org>
> >> An: bwaldecker at gmx.at
> >> CC: "users at lists.opennebula.org" <users at lists.opennebula.org>
> >> Betreff: Re: [one-users] Sunstone WebGui buttons lost
> > 
> >> Hello,
> >>
> >> if you are logging in with a user not beloning to the oneadmin group
> >> (gid=0), then it is normal that some buttons are hidden, as standard
> >> ACLs do not allow these operations for non admin users. If you adapted
> >> ACLs and you want to customize Sunstone to show these buttons to other
> >> groups/users, let me know and ill tell you how to do it.
> >>
> >> Alternatively, if you are logging in with a oneadmin group user and
> >> these buttons are not there, try removing browser's cache and cookies
> >> associated to Sunstone, and login again.
> >>
> >> Héctor Sanjuán
> >> OpenNebula Developer
> > 



More information about the Users mailing list