Class humhub\modules\admin\controllers\GroupController
Inheritance | humhub\modules\admin\controllers\GroupController » humhub\modules\admin\components\Controller » humhub\components\Controller » yii\web\Controller |
---|---|
Available since version | 0.5 |
Group Administration Controller
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$actionTitlesMap | array | Page titles | humhub\components\Controller |
$adminOnly | boolean | If true only allows access for system admins else the access is restricted by getAccessRules() | humhub\modules\admin\controllers\GroupController |
$loggedInOnly | humhub\modules\admin\components\Controller | ||
$pageTitle | string | Title of the rendered page | humhub\components\Controller |
$prependActionTitles | boolean | Append page title | humhub\components\Controller |
$subLayout | null|string | The name of the sub layout to be applied to this controller's views. | humhub\modules\admin\components\Controller |
Protected Properties
Property | Type | Description | Defined By |
---|---|---|---|
$access | string | Defines the ControllerAccess class for this controller responsible for managing access rules | humhub\components\Controller |
Public Methods
Protected Methods
Method | Description | Defined By |
---|---|---|
forbidden() | humhub\components\Controller |
Events
Event | Type | Description | Defined By |
---|---|---|---|
EVENT_INIT | \yii\base\Event | An event raised on init a controller. | humhub\components\Controller |
Property Details
If true only allows access for system admins else the access is restricted by getAccessRules()
Method Details
public void actionAddMembers ( ) |
public void actionAdminUserSearch ( $keyword, $id ) | ||
$keyword | ||
$id |
Deletes a group
On deletion all group members will be moved to another group.
public void actionDelete ( ) |
Edits or Creates a user group
public void actionEdit ( ) |
public void actionEditManagerRole ( ) |
List all available user groups
public void actionIndex ( ) |
public void actionManageGroupUsers ( ) |
public void actionManagePermissions ( ) |
public void actionNewMemberSearch ( ) |
public void actionRemoveGroupUser ( ) |
public void checkGroupAccess ( $group ) | ||
$group |
Returns access rules for the standard access control behavior
public array getAccessRules ( ) | ||
return | array | The access permissions |
---|
public void init ( ) |