roles into wsscnx from sess
This commit is contained in:
@@ -86,6 +86,7 @@ export const methods = {
|
||||
};
|
||||
|
||||
if(!this.accessRights.canGet(this.userId, this.roles, payload.key)) {
|
||||
console.log('Unauth GET key:',this.userId, this.roles, payload.key)
|
||||
this.sendErr(action, 'Unauthorized key !', reqid);
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user