Hebo Theme And Checkaccess() Not Working

I am incorporating the free Hebo theme (awesome) and trying to use the checkAccess function that I use in my administration module to control access to the menu in Hebo.

This works in my admin module array(‘label’=>‘Users’, ‘url’=>array(’/administration/users’),

                                  'visible'=>Yii::app()->user-checkAccess('ManageUsers')),

when I try it in Hebo it ignores anything returned for the visible parameter which is always blank in the url (url it says &visible= ).

The Hebo theme code is:

array(‘label’=>‘About’, ‘url’=array(’/site/page’, ‘view’=>‘about’), ‘linkOptions’=array(“data-description”=“what we are about”),),

I tried:

array(‘label’=>‘About’, ‘url’=array(’/site/page’, ‘view’=>‘about’, ‘visible’=>Yii::app()->user->checkAccess(‘ManageUsers’)), ‘linkOptions’=array(“data-description”=“what we are about”),),

This returns no errors and has no effect. Menu item is always visible whether I’m logged in or not.

Help please…

I don’t know what Hebo is but I hope that is a typo:


'visible'=>Yii::app()->user->checkAccess('ManageUsers')),