This commit is contained in:
2021-03-19 14:23:58 +00:00
parent 3bdaa38c4a
commit 770fbc64d1
2 changed files with 11 additions and 14 deletions

View File

@@ -8,7 +8,7 @@ namespace AyaNova.DataList
public OutsideUserDataList()
{
DefaultListObjectType = AyaType.User;
DefaultListObjectType = AyaType.Customer;
SQLFrom = "from auser left join aheadoffice on (auser.headofficeid=aheadoffice.id) left join acustomer on (auser.customerid=acustomer.id)";
var RoleSet = BizRoles.GetRoleSet(DefaultListObjectType);
AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change;