SJRK-415: Use ContextAwareness to refactor authoringEnabled

Metadata

Source
SJRK-415
Type
Improvement
Priority
Major
Status
Open
Resolution
N/A
Assignee
N/A
Reporter
Gregor Moss
Created
2020-10-26T14:23:09.376-0400
Updated
2020-10-26T14:23:09.376-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Storytelling Tool Server
  2. Storytelling Tool UI

Description

Take advantage of the ContextAwareness API to determine whether to include the various pieces of configuration which are dependent on authoringEnabled being true or false.

Specifically, rather than passing the value of authoringEnabled into various server request handlers, the Infusion configuration for these request handlers can automatically be included or excluded. Since this is likely to affect the server tests, this may also be a good opportunity to tackle SJRK-241.