We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c58d0e commit 6094cd0Copy full SHA for 6094cd0
projects/netgrif-components-core/src/lib/authorization/role/role-guard.service.ts
@@ -44,8 +44,6 @@ export class RoleGuardService implements CanActivate {
44
const allowedRoles = this.parseRoleConstraints(view.access.role, url);
45
46
if (bannedRoles.length == 0 && allowedRoles.length == 0) {
47
- this._log.warn("Both 'roles' and 'bannedRole' are defined on view [" + view.routing + "], but" +
48
- " they are empty lists. No one will be able to navigate to that view.")
49
return false;
50
}
51
0 commit comments