monkey-front-core 0.0.536 → 0.0.537
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/core/services/auth/monkeyecx-auth-guard-role.service.mjs +2 -4
- package/fesm2015/monkey-front-core.mjs +1 -3
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +1 -3
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.537.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.536.tgz +0 -0
|
@@ -4896,9 +4896,7 @@ class MonkeyEcxAuthGuardByRole {
|
|
|
4896
4896
|
this.securityCredentials = route.data?.securityCredentials;
|
|
4897
4897
|
if (this.securityCredentials) {
|
|
4898
4898
|
const { roles, byExclusion } = this.securityCredentials;
|
|
4899
|
-
|
|
4900
|
-
this.tokenCredentials = await this.tokenStorage.getToken();
|
|
4901
|
-
}
|
|
4899
|
+
this.tokenCredentials = await this.tokenStorage.getToken();
|
|
4902
4900
|
if (!this.allowedSecurityAccess(roles, byExclusion)) {
|
|
4903
4901
|
this.navigateToErrorPage();
|
|
4904
4902
|
return false;
|