This commit is contained in:
@@ -135,13 +135,6 @@ export default {
|
||||
|
||||
//get the logged in user's role
|
||||
let userRole = window.$gz.store.state.roles;
|
||||
|
||||
// console.log("Authorization roles getRights, userRole=", userRole);
|
||||
// console.log(
|
||||
// `Authorization roles getRights for ${typeName} objectRoleRights=`,
|
||||
// objectRoleRights
|
||||
// );
|
||||
|
||||
//calculate the effective rights
|
||||
//a non zero result of the bitwise calculation means true and zero means false so using !! to force it into a boolean value
|
||||
//(contrary to some style guides that say !! is obscure but I say it saves a lot of typing)
|
||||
|
||||
Reference in New Issue
Block a user