This commit is contained in:
2021-07-14 21:51:03 +00:00
parent cafdea0c61
commit 64687ae222
2 changed files with 2 additions and 5 deletions

View File

@@ -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

View File

@@ -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;