This commit is contained in:
2020-01-03 00:03:38 +00:00
parent fe6a9a73d1
commit 3bd98bb010
2 changed files with 79 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ namespace AyaNova.Biz
public enum AuthorizationRoles : int
{
//https://stackoverflow.com/questions/8447/what-does-the-flags-enum-attribute-mean-in-c
//MAX 32!!! or will overflow int and needs to be turned into a long
//MAX 31 (2147483647)!!! or will overflow int and needs to be turned into a long
//Must be a power of two: https://en.wikipedia.org/wiki/Power_of_two
///<summary>No role set</summary>
@@ -51,6 +51,6 @@ namespace AyaNova.Biz
SubContractorFull | ClientLimited | ClientFull | OpsAdminLimited | OpsAdminFull
}//end AuthorizationRoles
//32768, 65536, 131072, 262144, 524288, 1,048,576
}//end namespace GZTW.AyaNova.BLL