Renamed roles and trans keys "Limited"->"Restricted" "Full" -> ""
This commit is contained in:
@@ -14,50 +14,50 @@ namespace AyaNova.Biz
|
||||
|
||||
///<summary>No role set</summary>
|
||||
NoRole = 0,
|
||||
///<summary>BizAdminLimited</summary>
|
||||
BizAdminLimited = 1,
|
||||
///<summary>BizAdminFull</summary>
|
||||
BizAdminFull = 2,
|
||||
///<summary>DispatchLimited</summary>
|
||||
DispatchLimited = 4,
|
||||
///<summary>DispatchFull</summary>
|
||||
DispatchFull = 8,
|
||||
///<summary>InventoryLimited</summary>
|
||||
InventoryLimited = 16,
|
||||
///<summary>InventoryFull</summary>
|
||||
InventoryFull = 32,
|
||||
///<summary>AccountingFull</summary>
|
||||
AccountingFull = 64,//No limited role, not sure if there is a need
|
||||
///<summary>TechLimited</summary>
|
||||
TechLimited = 128,
|
||||
///<summary>TechFull</summary>
|
||||
TechFull = 256,
|
||||
///<summary>SubContractorLimited</summary>
|
||||
SubContractorLimited = 512, //same as tech but restricted by further business rules (more fine grained)
|
||||
///<summary>SubContractorFull</summary>
|
||||
SubContractorFull = 1024,//same as tech limited but restricted by further business rules (more fine grained)
|
||||
///<summary>ClientLimited</summary>
|
||||
CustomerLimited = 2048,
|
||||
///<summary>ClientFull</summary>
|
||||
CustomerFull = 4096,
|
||||
///<summary>OpsAdminLimited</summary>
|
||||
OpsAdminLimited = 8192,
|
||||
///<summary>OpsAdminFull</summary>
|
||||
OpsAdminFull = 16384,
|
||||
///<summary>SalesFull</summary>
|
||||
SalesFull = 32768,
|
||||
///<summary>SalesLimited</summary>
|
||||
SalesLimited = 65536,
|
||||
///<summary>BizAdminRestricted</summary>
|
||||
BizAdminRestricted = 1,
|
||||
///<summary>BizAdmin</summary>
|
||||
BizAdmin = 2,
|
||||
///<summary>ServiceRestricted</summary>
|
||||
ServiceRestricted = 4,
|
||||
///<summary>Service</summary>
|
||||
Service = 8,
|
||||
///<summary>InventoryRestricted</summary>
|
||||
InventoryRestricted = 16,
|
||||
///<summary>Inventory</summary>
|
||||
Inventory = 32,
|
||||
///<summary>Accounting</summary>
|
||||
Accounting = 64,//No limited role, not sure if there is a need
|
||||
///<summary>TechRestricted</summary>
|
||||
TechRestricted = 128,
|
||||
///<summary>Tech</summary>
|
||||
Tech = 256,
|
||||
///<summary>SubContractorRestricted</summary>
|
||||
SubContractorRestricted = 512, //same as tech but restricted by further business rules (more fine grained)
|
||||
///<summary>SubContractor</summary>
|
||||
SubContractor = 1024,//same as tech limited but restricted by further business rules (more fine grained)
|
||||
///<summary>ClientRestricted</summary>
|
||||
CustomerRestricted = 2048,
|
||||
///<summary>Client</summary>
|
||||
Customer = 4096,
|
||||
///<summary>OpsAdminRestricted</summary>
|
||||
OpsAdminRestricted = 8192,
|
||||
///<summary>OpsAdmin</summary>
|
||||
OpsAdmin = 16384,
|
||||
///<summary>Sales</summary>
|
||||
Sales = 32768,
|
||||
///<summary>SalesRestricted</summary>
|
||||
SalesRestricted = 65536,
|
||||
|
||||
|
||||
///<summary>Anyone of any role</summary>
|
||||
All = BizAdminLimited | BizAdminFull | DispatchLimited | DispatchFull | InventoryLimited |
|
||||
InventoryFull | AccountingFull | TechLimited | TechFull | SubContractorLimited |
|
||||
SubContractorFull | CustomerLimited | CustomerFull | OpsAdminLimited | OpsAdminFull | SalesFull | SalesLimited,
|
||||
All = BizAdminRestricted | BizAdmin | ServiceRestricted | Service | InventoryRestricted |
|
||||
Inventory | Accounting | TechRestricted | Tech | SubContractorRestricted |
|
||||
SubContractor | CustomerRestricted | Customer | OpsAdminRestricted | OpsAdmin | Sales | SalesRestricted,
|
||||
|
||||
AllInsideUserRoles = BizAdminLimited | BizAdminFull | DispatchLimited | DispatchFull | InventoryLimited |
|
||||
InventoryFull | AccountingFull | TechLimited | TechFull | SubContractorLimited |
|
||||
SubContractorFull | SalesFull | SalesLimited | OpsAdminLimited | OpsAdminFull
|
||||
AllInsideUserRoles = BizAdminRestricted | BizAdmin | ServiceRestricted | Service | InventoryRestricted |
|
||||
Inventory | Accounting | TechRestricted | Tech | SubContractorRestricted |
|
||||
SubContractor | Sales | SalesRestricted | OpsAdminRestricted | OpsAdmin
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user