Dynamic Permissions

This commit is contained in:
2020-06-27 01:18:10 +02:00
parent cd6c28c9b3
commit bad08af314
5 changed files with 233 additions and 14 deletions

View File

@@ -11,6 +11,8 @@ class SendTestMail extends Request {
parent::__construct($user, $externalCall, array(
"receiver" => new Parameter("receiver", Parameter::TYPE_EMAIL)
));
$this->requiredGroup = array(USER_GROUP_ADMIN, USER_GROUP_SUPPORT);
}
public function execute($values = array()) {