/**
  * Checks permission for displaying MENU item
  *
  * @return boolean if has permission to see menu item
  */
 static function access()
 {
     onapp_debug(__CLASS__ . ' :: ' . __FUNCTION__);
     $return = onapp_has_permission(array('roles'));
     onapp_debug('return => ' . $return);
     return $return;
 }
Ejemplo n.º 2
0
 /**
  * Checks permission for displaying MENU item
  *
  * @return boolean if has permission to see menu item
  */
 static function access()
 {
     onapp_debug(__METHOD__);
     $return = onapp_has_permission(array('roles'));
     onapp_debug('return => ' . $return);
     return $return;
 }
 static function access()
 {
     return onapp_has_permission(array('load_balancing_clusters', 'load_balancing_clusters.read.own'));
 }
Ejemplo n.º 4
0
 /**
  * Checks permission for displaying MENU item
  *
  * @return boolean if has permission to see menu item
  */
 static function access()
 {
     onapp_debug(__CLASS__ . ' :: ' . __FUNCTION__);
     $return = onapp_has_permission(array('log_items', 'log_items.list', 'log_items.list.own'));
     onapp_debug('return => ' . $return);
     return $return;
 }
 /**
  * Checks necessary access to this class
  *
  * @return boolean [true|false]
  */
 static function access()
 {
     return onapp_has_permission(array('virtual_machines', 'virtual_machines.read.own'));
 }
 /**
  *
  * Checks necessary access to this class
  *
  * @return boolean [true|false]
  *
  */
 static function access()
 {
     return onapp_has_permission(array('hypervisors', 'hypervisors.read'));
 }