Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
Public Member Functions | List of all members
RightsAssignmentController Class Reference
Inheritance diagram for RightsAssignmentController:
Controller BaseController

Public Member Functions

 filters ()
 accessRules ()
 getBaseUrl ()
 actionView ()
 actionUser ()
 actionRevoke ()

Additional Inherited Members

- Public Attributes inherited from Controller
 $menu = array()
 $breadcrumbs = array()
- Protected Member Functions inherited from BaseController
 beforeAction ($action)

Detailed Description

Proxy controller. Sends all requests to /rights/assignment

Definition at line 5 of file RightsAssignmentController.php.

Member Function Documentation

RightsAssignmentController::accessRules ( )

Specifies the access control rules. This method is used by the 'accessControl' filter.

Returns
array access control rules

Definition at line 22 of file RightsAssignmentController.php.

{
return array(
array('allow',
'roles' => array('Admin'),
),
array('deny', // deny all users
'users' => array('*'),
),
);
}
RightsAssignmentController::filters ( )
Returns
array action filters

Definition at line 10 of file RightsAssignmentController.php.

{
return array(
'accessControl', // perform access control for CRUD operations
);
}

The documentation for this class was generated from the following file: