This commit is contained in:
@@ -39,6 +39,8 @@ namespace AyaNova.Biz
|
||||
//but then I'm wondering if some items under workorder might have seperate roles...
|
||||
//maybe it's workorder by default unless something needs an override
|
||||
|
||||
//BizRules will handle finer grained rights, this is just the big picture rights or default if no finer required
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
//CUSTOMER
|
||||
// (any change copy to customer notes, head office)
|
||||
@@ -110,7 +112,7 @@ namespace AyaNova.Biz
|
||||
roles.Add(AyaType.PurchaseOrder, new BizRoleSet()
|
||||
{
|
||||
Change = AuthorizationRoles.InventoryFull | AuthorizationRoles.BizAdminFull | AuthorizationRoles.AccountingFull,
|
||||
ReadFullRecord = AuthorizationRoles.DispatchFull | AuthorizationRoles.InventoryLimited | AuthorizationRoles.BizAdminLimited | AuthorizationRoles.DispatchLimited,
|
||||
ReadFullRecord = AuthorizationRoles.DispatchFull | AuthorizationRoles.InventoryLimited | AuthorizationRoles.BizAdminLimited | AuthorizationRoles.DispatchLimited,
|
||||
Select = AuthorizationRoles.All
|
||||
});
|
||||
|
||||
@@ -594,7 +596,7 @@ namespace AyaNova.Biz
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
//MEMO
|
||||
// (everyone but outside users Customer and HO can send and receive memos)
|
||||
@@ -605,6 +607,26 @@ namespace AyaNova.Biz
|
||||
Select = AuthorizationRoles.AllInsideUserRoles,
|
||||
});
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
//REMINDER
|
||||
// (everyone but outside users Customer and HO)
|
||||
roles.Add(AyaType.Reminder, new BizRoleSet()
|
||||
{
|
||||
Change = AuthorizationRoles.AllInsideUserRoles,
|
||||
ReadFullRecord = AuthorizationRoles.AllInsideUserRoles,
|
||||
Select = AuthorizationRoles.AllInsideUserRoles,
|
||||
});
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
//REVIEW
|
||||
// (everyone but outside users and follows object rights)
|
||||
roles.Add(AyaType.Review, new BizRoleSet()
|
||||
{
|
||||
Change = AuthorizationRoles.AllInsideUserRoles,
|
||||
ReadFullRecord = AuthorizationRoles.AllInsideUserRoles,
|
||||
Select = AuthorizationRoles.AllInsideUserRoles,
|
||||
});
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
#endregion all roles init
|
||||
|
||||
|
||||
Reference in New Issue
Block a user