This commit is contained in:
2020-01-22 19:44:53 +00:00
parent c3dcdaf4cf
commit fcf52d59c4

View File

@@ -7,11 +7,11 @@ namespace AyaNova.DataList
public UserDataList()
{
DefaultListObjectType = AyaType.User;
ListKey = nameof(UserDataList);
SQLFrom = "from auser";
FullListAllowedRoles = AuthorizationRoles.AllInternalStaff;//anyone but clients and subcontractors (just for test)
MiniListAllowedRoles = AuthorizationRoles.All;//anyone (so can select on forms)
DefaultListObjectType = AyaType.User;
FullListAllowedRoles = BizRoles.GetRoleSet(DefaultListObjectType).ReadFullRecord;//anyone but clients and subcontractors (just for test)
MiniListAllowedRoles = AuthorizationRoles.All;//anyone (so can select on forms)
DefaultDataListDisplayTemplate = @"
{
""full"":[""username"",""useremployeenumber"",""useractive"",""usernotes"",""userroles""],