コード例 #1
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('roles'));
     onapp_debug('return => ' . $return);
     return $return;
 }
コード例 #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;
 }
コード例 #3
0
 static function access()
 {
     return onapp_has_permission(array('load_balancing_clusters', 'load_balancing_clusters.read.own'));
 }
コード例 #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;
 }
コード例 #5
0
 /**
  * Checks necessary access to this class
  *
  * @return boolean [true|false]
  */
 static function access()
 {
     return onapp_has_permission(array('virtual_machines', 'virtual_machines.read.own'));
 }
コード例 #6
0
 /**
  *
  * Checks necessary access to this class
  *
  * @return boolean [true|false]
  *
  */
 static function access()
 {
     return onapp_has_permission(array('hypervisors', 'hypervisors.read'));
 }