Enhancement
It should be possible to access application configurations and annotations from TL-Script. A configuration is ultimately an object with properties that should be accessed like a map with $x["name"].
A typed configuration can be created from a map/JSON object using the new TL script function toConfig(...).
New script functions:
- dbConfig(): Returns the database schema configuration.
- appConfig(): Provides access to the application configuration.
For security reasons, the execution of appConfig() in interactive mode (search, script console) is only possible for root users.
Test
- Manually via script console, see online help for the new functions.