Class humhub\modules\admin\permissions\ManageModules

Inheritancehumhub\modules\admin\permissions\ManageModules » humhub\modules\admin\components\BaseAdminPermission » humhub\libs\BasePermission » yii\base\BaseObject
Available since version1.2

ManageModules Permission allows access to module section within the admin area.

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$defaultAllowedGroups array Default allowed groups humhub\libs\BasePermission
$defaultState string humhub\modules\admin\components\BaseAdminPermission
$description string Description of the permission humhub\libs\BasePermission
$fixedGroups array Default fixed groups humhub\libs\BasePermission
$id string Id of the permission (default is classname) humhub\modules\admin\permissions\ManageModules
$moduleId string Module id which belongs to the permission humhub\modules\admin\components\BaseAdminPermission
$title string Title of the permission humhub\libs\BasePermission

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
getConfiguredState() Returns the default state set in the configration params 'defaultPermissions'. humhub\libs\BasePermission

Constants

Hide inherited constants

ConstantValueDescriptionDefined By
STATE_ALLOW 1 humhub\libs\BasePermission
STATE_DEFAULT '' Permission States humhub\libs\BasePermission
STATE_DENY 0 humhub\libs\BasePermission

Property Details

$id protected property

Id of the permission (default is classname)

protected string $id 'admin_manage_modules'

Method Details

__construct() public method

public void __construct ( $config = [] )
$config