This commit is contained in:
2021-07-13 23:03:58 +00:00
parent 85facc8dfb
commit bdab601fa5
2 changed files with 12 additions and 4 deletions

View File

@@ -74,6 +74,8 @@ todo: notifications screen add delete all menu item that will just remove all th
todo: notification new bell alert count add to title so shows in task bar when not in view?
like messenger "(1)" "(23)" etc
todo: roles are all over the place in some cases, e.g. login as tech restricted user and can see vendors / accounting and etc
todo: browser back to new record page
when make new record then go back goes to new record again, should it go to record before *new* record page instead??
@@ -428,8 +430,7 @@ Subcontractor / tech limited modifications
- At client have code to set restricted user restricted fields to read-only or hide as necessary per below
- Remove sections from work order for low rights users as per below
- Test login as each low rights type and confirm works as planned below
TODO: seeder must use proper users easy testing and evaluation so teh user type must be the one scheduled for testing for example
no more customer users scheduled on wo either...jesus!
HYPOTHETICAL SCHEDULEABLE USER ROLE RIGHTS
@@ -443,6 +444,7 @@ HYPOTHETICAL SCHEDULEABLE USER ROLE RIGHTS
This person basically fills out a workorder that someone else created / does the work but has no control over the details and can't see anyone else's stuff
Like a subcontractor but as they are staff they also have access to full range of peripheral standard AyaNova 8 features like reminders, ancillary objects like customer etc, contract, customer notes, follow up, attachments etc
Can not create or delete a work order or work order item
Can not view the main work order lists since they would only be able to see ones they are scheduled on anyway
No costs or prices anywhere
Can only see workorder items they are scheduled on
Specific rights to Work order areas:
@@ -1345,7 +1347,8 @@ BUILD 115
* Cost restrictions also apply to reporting so a report with cost fields on it will show those values as zero if the current user is restricted from seeing costs
- Seeding work order data, fixed so no longer uses Customer users as techs on work order and ensure that known users that are listed in the evaluation login page appear on plenty of work orders as scheduled user
for testing and ultimately evaluation so that when user logs in as one of the sample users they see relevant data

View File

@@ -401,7 +401,12 @@ function initNavPanel() {
}
//**** Service (TOP GROUP)
if (sub.length > 0) {
if (
sub.length > 0 &&
!window.$gz.role.hasRole([
window.$gz.role.AUTHORIZATION_ROLES.TechRestricted
])
) {
addNavItem("Service", "$ayiToolbox", undefined, sub, key++, "service");
}