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