示例#1
0
 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return ['acl' => ['class' => \humhub\components\behaviors\AccessControl::className(), 'guestAllowedActions' => ['index']]];
 }
示例#2
0
 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return ['acl' => ['class' => \humhub\components\behaviors\AccessControl::className()]];
 }
 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return ['acl' => ['class' => AccessControl::className()]];
 }
示例#4
0
 public function behaviors()
 {
     return ['acl' => ['class' => AccessControl::className(), 'adminOnly' => true]];
 }
 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return ['acl' => ['class' => \humhub\components\behaviors\AccessControl::className(), 'guestAllowedActions' => ['groups', 'index', 'members', 'spaces', 'user-posts', 'stream']]];
 }
 public function behaviors()
 {
     return ['acl' => ['class' => \humhub\components\behaviors\AccessControl::className(), 'guestAllowedActions' => ['index', 'request', 'stream,checkout,subscription']]];
 }