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