Exemplo n.º 1
0
 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return ['acl' => ['class' => \humhub\components\behaviors\AccessControl::className(), 'guestAllowedActions' => ['index']]];
 }
Exemplo n.º 2
0
 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return ['acl' => ['class' => \humhub\components\behaviors\AccessControl::className()]];
 }
Exemplo n.º 3
0
 /**
  * @inheritdoc
  */
 public function behaviors()
 {
     return ['acl' => ['class' => AccessControl::className()]];
 }
Exemplo n.º 4
0
 public function behaviors()
 {
     return ['acl' => ['class' => AccessControl::className(), 'adminOnly' => true]];
 }
Exemplo n.º 5
0
 /**
  * @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']]];
 }