fix admin access for customer in invoice module (#3095)

This commit is contained in:
Kevin Papst
2022-01-25 14:06:09 +01:00
committed by GitHub
parent 1e269a6f82
commit 6416b67c63
2 changed files with 6 additions and 2 deletions

View File

@@ -89,6 +89,10 @@ final class CustomerVoter extends Voter
}
}
if ($user->canSeeAllData()) {
return true;
}
return false;
}