This commit is contained in:
@@ -6,11 +6,6 @@
|
||||
MISC ITEMS THAT CAME UP
|
||||
|
||||
|
||||
todo: deleting HeadOffice must attempt to delete all contacts too
|
||||
|
||||
todo: test Contact vs User rights on routes
|
||||
|
||||
|
||||
todo: Initialize has an expired license section that prevents all other options
|
||||
except fixing the license
|
||||
however I think this is supposed to switch to readonly mode in most cases unless it's a rental license?
|
||||
|
||||
@@ -99,6 +99,10 @@ function initNavPanel() {
|
||||
//###### EXPIRED LICENSE GROUP
|
||||
|
||||
//Status NONE, EXPIREDTRIAL, EXPIREDPURCHASE, REVOKED
|
||||
|
||||
//So an expired purchased is a Rental type license and perpetual do not expire ever so this is kosher
|
||||
//we used to allow read only access when expired but this is more dramatic and we can always issue a one day license if they need it for something
|
||||
//and we're feeling generous so leaving as is for now
|
||||
//only show license and logout
|
||||
/* public enum LicenseStatus
|
||||
{
|
||||
|
||||
@@ -407,8 +407,8 @@ export default {
|
||||
let vm = this;
|
||||
try {
|
||||
await initForm(vm);
|
||||
|
||||
vm.rights = window.$gz.role.getRights(window.$gz.type.User);
|
||||
//## NOTE: This is a Contact form so follows Customer rights even though User object
|
||||
vm.rights = window.$gz.role.getRights(window.$gz.type.Customer);
|
||||
vm.formState.readOnly = !vm.rights.change;
|
||||
window.$gz.eventBus.$on("menu-click", clickHandler);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user