getUser()->isAdmin()) { throw new Forbidden(); } } public function beforeUpdate() { throw new Forbidden(); } public function beforeMassUpdate() { throw new Forbidden(); } public function beforeCreate() { throw new Forbidden(); } public function beforeCreateLink() { throw new Forbidden(); } public function beforeRemoveLink() { throw new Forbidden(); } public function beforeMassConvertCurrency() { throw new Forbidden(); } }