Commit 7e5eeabe by Yvon

Revert "silly bug fix"

This reverts commit 6f52fe1c.
parent c89e8ff7
...@@ -76,6 +76,6 @@ class VoterSecurityHandler extends RoleSecurityHandler ...@@ -76,6 +76,6 @@ class VoterSecurityHandler extends RoleSecurityHandler
public function grantChangeAdherentPasswordToNonSuperAdmin($str): bool public function grantChangeAdherentPasswordToNonSuperAdmin($str): bool
{ {
return $_ENV['TAV_ENV'] && $this->authorizationChecker->isGranted($str); return $_ENV['TAV_ENV'] && ($str === 'ROLE_CHANGE_ADHERENT_PERSONAL_DATA');
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment