This commit is contained in:
2021-07-13 22:28:16 +00:00
parent 102d045259
commit fd2b19e73b
2 changed files with 2 additions and 2 deletions

View File

@@ -132,7 +132,7 @@ namespace AyaNova.Biz
{
if (CurrentUserType == UserType.ServiceContractor) return true;//any subcontractor can only see their own woitems at most with further restrictions possible
//Now check roles (same as rates as accessed via svc area)
return (CurrentUserRoles.HasFlag(AuthorizationRoles.ServiceRestricted));
return (CurrentUserRoles.HasFlag(AuthorizationRoles.TechRestricted));
}
}