case 3646

This commit is contained in:
2018-08-22 22:40:04 +00:00
parent 1edf15d017
commit 610964d4b3

View File

@@ -1759,7 +1759,9 @@ namespace GZTW.AyaNova.BLL
//don't allow trial to edit users
if (Trial && sObject == "Object.User") return 2;
//case 3646 removed
//if (Trial && sObject == "Object.User") return 2;
if (GlobalX.TrialExpired || GlobalX.LockedOut)
return 2;
if (sObject.EndsWith("Template")) sObject = sObject.Replace("Template", "");
@@ -1846,8 +1848,9 @@ namespace GZTW.AyaNova.BLL
}
//case 3646 removed
//don't allow trial to edit users
if (Trial && RootObject == RootObjectTypes.User) return 2;
//if (Trial && RootObject == RootObjectTypes.User) return 2;
if (GlobalX.TrialExpired || GlobalX.LockedOut)
return 2;