From 64687ae222fe0714f87eb6f6d9491b4529f10d1a Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 14 Jul 2021 21:51:03 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 6 ++---- ayanova/src/views/svc-workorder.vue | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index d694ad8c..b7c82204 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -425,10 +425,7 @@ CURRENTLY DOING: tasks: - Test client end against server code before modifying client to prevent restricted acts - easier to test when can actually try it - Test each of the three restricted roles and one full role - + Modify client to now show and / or prevent restricted actions Maybe just mirror the UserIs* flags from server at client (or bring them with the work order for reporting dual usage as well??) that way can consult the same basic fields and it's easier to remember and grok down the road @@ -1319,6 +1316,7 @@ WORK ORDER RESTRICTIONS ADDED: UserCanViewPartCosts UserCanViewLaborOrTravelRateCosts UserCanViewLoanerCosts + IsCompleteRecord - false if some work order items were removed as not available to current restricted user - Seeding work order data, fixed so no longer uses Customer users as techs on work order and ensure that known scheduleable type users that are listed in the evaluation login page appear on plenty of work orders as scheduled user diff --git a/ayanova/src/views/svc-workorder.vue b/ayanova/src/views/svc-workorder.vue index a1125742..3df61b2d 100644 --- a/ayanova/src/views/svc-workorder.vue +++ b/ayanova/src/views/svc-workorder.vue @@ -66,7 +66,6 @@ export default { //set base rights vm.rights = window.$gz.role.getRights(window.$gz.type.WorkOrder); - console.log("rights:", JSON.stringify(vm.rights)); window.$gz.eventBus.$on("menu-click", clickHandler); let setDirty = false; let setValid = true;