Join GitHub today
Simplify scripting enabled settings #24532
We currently have 3 concepts in scripts: language, type (inline, file, stored), and context. We also have "fine grained control" over the various combinations of these that can be allowed. These settings are automatically added in the script service, and the logic is complex with fallbacks.
As we are working towards a simpler scripting api, with contexts actually implying the variables available to a script, we should simplify these settings. I propose to have each of these concepts allow for disabling, but not the endless combinations; that level of control is simply not necessary.
My proposed settings are:
The plan would be to add these alternative settings in 5.5, at the same time as disabling the old fine grained settings.
@clintongormley Ok, I modified the description to (1) not have languages and (2) removed "disabled" so these lists are now inclusive instead of exclusive. For the latter, it means disabling just one context is more work, but it is much clearer that you want exactly these contexts, and new ones added will not be automatically added to your explicit list.