diff --git a/devdocs/todo.txt b/devdocs/todo.txt index 454a9a46..9fefe849 100644 --- a/devdocs/todo.txt +++ b/devdocs/todo.txt @@ -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 diff --git a/server/AyaNova/DataList/WidgetDataList.cs b/server/AyaNova/DataList/TestWidgetDataList.cs similarity index 96% rename from server/AyaNova/DataList/WidgetDataList.cs rename to server/AyaNova/DataList/TestWidgetDataList.cs index cf570e25..a96dae57 100644 --- a/server/AyaNova/DataList/WidgetDataList.cs +++ b/server/AyaNova/DataList/TestWidgetDataList.cs @@ -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;