mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
message
This commit is contained in:
@@ -26,8 +26,8 @@ export class PermissionService {
|
||||
}
|
||||
|
||||
|
||||
for(let permission of (this.SessionStore.user.UserPermissions || [])){
|
||||
if (args.includes(permission)){
|
||||
for(let permission of (this.SessionStore.user.UserPermissions || [])) {
|
||||
if (args.includes(permission)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -46,7 +46,7 @@ export class PermissionService {
|
||||
role = [role]
|
||||
}
|
||||
|
||||
if(!UserRoleIsValid) {return false }
|
||||
if(!UserRoleIsValid) { return false }
|
||||
|
||||
return true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user