-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Description
With the upcoming background search/sessions feature, we'd like to allow admins the ability to control access to running searches/sessions in the background. There are a few ways to allow this:
- Add background sessions as a top-level feature control
- Add background sessions as a sub-feature under applications that implement them (discover, dashboard, SIEM, etc.)
- Add an advanced setting that toggles the feature
While (1) is probably the easiest implementation, and the easiest way for admins to turn the feature on/off entirely for a set of users, it is awkward because there are no other top-level feature controls that are not applications (with a corresponding icon in the app list). It also interacts awkwardly with the "all/read/none" mechanism we currently have. (What does "read" mean?)
(2) allows for fine-grain control over the feature for different applications, and intuitively seems to make the most sense, but makes it more difficult for admins to entirely turn on/off the feature. We'd also need to decide where "background sessions" as a sub-feature is enabled per application (only when "all" is turned on? or "read" too?).
(3) is also a simple implementation to turn the entire feature on/off, but we don't generally use advanced settings to control application features.
I'd like to discuss the possible solutions and come to an agreement on what we should implement moving forward. See also #73281 (comment).