This commit is contained in:
@@ -6,11 +6,6 @@
|
|||||||
MISC ITEMS THAT CAME UP
|
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
|
todo: Initialize has an expired license section that prevents all other options
|
||||||
except fixing the license
|
except fixing the license
|
||||||
however I think this is supposed to switch to readonly mode in most cases unless it's a rental 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
|
//###### EXPIRED LICENSE GROUP
|
||||||
|
|
||||||
//Status NONE, EXPIREDTRIAL, EXPIREDPURCHASE, REVOKED
|
//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
|
//only show license and logout
|
||||||
/* public enum LicenseStatus
|
/* public enum LicenseStatus
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -407,8 +407,8 @@ export default {
|
|||||||
let vm = this;
|
let vm = this;
|
||||||
try {
|
try {
|
||||||
await initForm(vm);
|
await initForm(vm);
|
||||||
|
//## NOTE: This is a Contact form so follows Customer rights even though User object
|
||||||
vm.rights = window.$gz.role.getRights(window.$gz.type.User);
|
vm.rights = window.$gz.role.getRights(window.$gz.type.Customer);
|
||||||
vm.formState.readOnly = !vm.rights.change;
|
vm.formState.readOnly = !vm.rights.change;
|
||||||
window.$gz.eventBus.$on("menu-click", clickHandler);
|
window.$gz.eventBus.$on("menu-click", clickHandler);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user