作者:kreativmin
项目:humhu
/**
* @inheritdoc
*/
public function behaviors()
{
return ['acl' => ['class' => \humhub\components\behaviors\AccessControl::className(), 'guestAllowedActions' => ['index']]];
}
作者:VasileGabrie
项目:humhu
/**
* @inheritdoc
*/
public function behaviors()
{
return ['acl' => ['class' => \humhub\components\behaviors\AccessControl::className()]];
}
作者:SimonBaeume
项目:humhu
/**
* @inheritdoc
*/
public function behaviors()
{
return ['acl' => ['class' => AccessControl::className()]];
}
作者:kreativmin
项目:humhu
public function behaviors()
{
return ['acl' => ['class' => AccessControl::className(), 'adminOnly' => true]];
}
作者:SimonBaeume
项目:humhu
/**
* @inheritdoc
*/
public function behaviors()
{
return ['acl' => ['class' => \humhub\components\behaviors\AccessControl::className(), 'guestAllowedActions' => ['groups', 'index', 'members', 'spaces', 'user-posts', 'stream']]];
}
作者:vinodchande
项目:module
public function behaviors()
{
return ['acl' => ['class' => \humhub\components\behaviors\AccessControl::className(), 'guestAllowedActions' => ['index', 'request', 'stream,checkout,subscription']]];
}