Example #1
0
 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return ['acl' => ['class' => \humhub\components\behaviors\AccessControl::className(), 'guestAllowedActions' => ['index']]];
 }
Example #2
0
 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return ['acl' => ['class' => \humhub\components\behaviors\AccessControl::className()]];
 }
 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return ['acl' => ['class' => AccessControl::className()]];
 }
Example #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']]];
 }