This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user