Sounds like a bug. We'll take a look. If you end up fixing it feel free to 
send us a patch.

Thanks,
Vladimir

On Tue, 7 Jun 2011, Seth Graham wrote:

>
> I'm having some issues getting the user roles working as expected.
>
> The wiki instructs something like:
>
> $acl->addRole( $username, GangliaAcl::GUEST );
> $acl->allow( $username, $cluster, GangliaAcl::EDIT );
>
> Which does not result in the little blue "+" sign to be drawn next to graphs.
>
> From line 71 in host_view.php, there is this line:
>
> if(checkAccess(GangliaAcl::ALL_VIEWS, GangliaAcl::EDIT, $conf)) {
>
> Changing it to:
>
> if(checkAccess($clustername, GangliaAcl::EDIT, $conf)) {
>
> Allows the check to succeed, but I run into the same problem in views.php.
>
>
> What does the 'EDIT' role actually allow a user to edit, if not views? And is 
> it possible to configure the interface to allow a user to only edit specific 
> views? As configured now, it appears view editing is all or nothing.
>
>
> thanks,
>
>
>
> On Jun 1, 2011, at 10:08 AM, Vladimir Vuksan wrote:
>
>>
>> Announcing Ganglia Web 2.0 Release Candidate 1.
>>
>> http://ganglia.info/?p=373
>>
>> Vladimir
>>
>> ------------------------------------------------------------------------------
>> Simplify data backup and recovery for your virtual environment with vRanger.
>> Installation's a snap, and flexible recovery options mean your data is safe,
>> secure and there when you need it. Data protection magic?
>> Nope - It's vRanger. Get your free trial download today.
>> http://p.sf.net/sfu/quest-sfdev2dev
>> _______________________________________________
>> Ganglia-general mailing list
>> Ganglia-general@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ganglia-general
>
>

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to