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

@@ -17,11 +17,11 @@ class Constants
/** /**
* The current release version * The current release version
*/ */
public const VERSION = '1.17'; public const VERSION = '1.17.1';
/** /**
* The current release: major * 10000 + minor * 100 + patch * The current release: major * 10000 + minor * 100 + patch
*/ */
public const VERSION_ID = 11700; public const VERSION_ID = 11701;
/** /**
* The current release status, either "stable" or "dev" * The current release status, either "stable" or "dev"
*/ */

View File

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