This commit is contained in:
2020-12-07 18:40:38 +00:00
parent f6bea2b8bf
commit 20652f9aaa
3 changed files with 17 additions and 20 deletions

View File

@@ -167,6 +167,14 @@ export default {
let r = this.getRights(oType);
//convention is change might be defined but not read so canOpen is true eitehr way
return r.change == true || r.read == true;
},
/////////////////////////////////
// convenience method for forms that deal with multiple object types
// (i.e. grids, history etc, initialization of main menu etc)
//
canChange(oType) {
let r = this.getRights(oType);
return r.change == true;
}
};
/*