HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
MainAccountController.php
Go to the documentation of this file.
1 <?php
2 
4 {
8  public function filters()
9  {
10  return array(
11  'accessControl', // perform access control for CRUD operations
12  'postOnly + delete', // we only allow deletion via POST request
13  );
14  }
15 
22  public function accessRules()
23  {
24  return array(
25  array('allow', // allow all users to perform actions
26  'actions' => array(),
27  'users' => Rights::getAuthorizer()->getSuperusers(),
28  ),
29  array('deny', // deny all users
30  'users' => array('*'),
31  ),
32  );
33  }
34 
39  public $layout = '//layouts/column2';
40 }