This commit is contained in:
@@ -194,6 +194,10 @@ export default {
|
||||
});
|
||||
},
|
||||
canOpen(otype) {
|
||||
// console.log("Canopen type: ", otype);
|
||||
// console.log("Openable:", this.ayaTypes[otype].openableObject);
|
||||
// console.log("roleCanOpen", window.$gz.role.canOpen(otype));
|
||||
// console.log("Role rights to type:", window.$gz.role.getRights(otype));
|
||||
return (
|
||||
this.ayaTypes[otype].openableObject && window.$gz.role.canOpen(otype)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user