RestAllowed and UIAllowed
The ViewModel has two settings:
- RestAllowed: must be set to access information via Rest - default FALSE
- UIAllowed: must be set to access information via UI - default TRUE
UIAllowed must be explicitly set for the TurnkeyWeb-UI to show. This setting was introduced to limit access from deep links to screens that may have been designed for purposes other than UI (ServerSide, Rest, Tajson templates, Reports, DeepClone templates, etc.).
RestAllowed must be set in order to access rest api backed by the view. According to this pattern:
http://localhost:5052/TurnkeyRest/Get?command=ViewOneThing&id=11!1 http://localhost:5052/Rest/ViewOneThing/Get?id=11!1 http://localhost:5052/Rest/ViewOneThing/Get/11!1

