This commit is contained in:
2020-01-22 17:55:05 +00:00
parent f2898b8149
commit b5708667c2
2 changed files with 3 additions and 6 deletions

View File

@@ -5,9 +5,6 @@ eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOiIxNTcxODU5OTU0IiwiZXhwIjoiMTU3MjQ
## IMMEDIATE ITEMS
DataListTemplate
- Add controller for it with validation callable from DataListTemplate (Validate(string template) method)
- Add validation in DataListFetcher to ensure template is still valid (commented with TODO)
Make up the USER datalists

View File

@@ -2,12 +2,12 @@ using System.Collections.Generic;
using AyaNova.Biz;
namespace AyaNova.DataList
{
internal class WidgetDataList : AyaDataList
internal class TestWidgetDataList : AyaDataList
{
//No JOINS just straight up widgets
public WidgetDataList()
public TestWidgetDataList()
{
ListKey = nameof(WidgetDataList);
ListKey = nameof(TestWidgetDataList);
SQLFrom = "from awidget left outer join auser on (awidget.userid=auser.id)";
AllowedRoles = AuthorizationRoles.AllInternalStaff;//anyone but clients and subcontractors (just for test)
DefaultListObjectType = AyaType.Widget;