This commit is contained in:
2020-12-29 22:45:42 +00:00
parent e4bf8ed44a
commit 68b55860f2

View File

@@ -259,7 +259,7 @@ namespace AyaNova.Biz
Select = AuthorizationRoles.All
});
////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////
//TaxCode
//
roles.Add(AyaType.TaxCode, new BizRoleSet()
@@ -276,6 +276,29 @@ namespace AyaNova.Biz
});
////////////////////////////////////////////////////////////
//SERVICE BANK
//
roles.Add(AyaType.ServiceBank, new BizRoleSet()
{
//The Change role settings is intended to
//apply to directly making a service bank entry i.e. adding to the bank
//when deducting from the bank the role required is for the object that is being banked
//Subcontractors are deliberately excluded here
//on the fence about sales as it's conceivable that a salesman sells bank time and then enters it but
//that's really in the realm of accounting, bizadmin or most obviously dispatch
Change = AuthorizationRoles.BizAdminFull
| AuthorizationRoles.DispatchFull
| AuthorizationRoles.AccountingFull,
ReadFullRecord = AuthorizationRoles.BizAdminLimited
| AuthorizationRoles.DispatchLimited
| AuthorizationRoles.SalesLimited
| AuthorizationRoles.TechLimited
| AuthorizationRoles.SalesFull
| AuthorizationRoles.TechFull,
Select = AuthorizationRoles.All
});
////////////////////////////////////////////////////////////
//Quote
//