Error
Today if you want to use the /api/Lava/RenderTemplate to test Lava with specific commands, entity, sql, workflowactivate or other entity command you have to enable those commands in the global allowed commands list. I propose that this endpoint should have it's own settings for what is enabled on it. It is already a secured API endpoint so having it's own configuration without having to allow commands globally would greatly benefit dev's without compromising the entire sites security.
A separate setting for the endpoint, for example a Global Attribute or System Setting such as "Lava Render API Enabled Commands," used by `RenderTemplate` instead of `DefaultEnabledLavaCommands`. The endpoint's existing REST security still decides who can call it.
Additional context
Code: `Rock.Rest/Controllers/LavaController.cs` (`RenderTemplate`) and `Rock/Utility/ExtensionMethods/LavaExtensions.cs` (`ResolveMergeFields( this string content, IDictionary<string, object> mergeObjects, Person currentPersonOverride )` reads `DefaultEnabledLavaCommands`). Same in 19.6 and develop.
Cultivate your ideas for maximum impact with these helpful submission tips that will increase the chances of your brilliant concepts becoming reality.