This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user