This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user