I need clarification on the following scenario regarding Elastic:
We have three spaces configured:
- In Space 1, a rule was enabled by a user with admin privileges.
- In Space 2, a rule was enabled by a custom user who only has access to Space 2.
- In Space 3, a rule was enabled by User 3, who has access to both Space 2 and Space 3.
All the rules are configured to run on indices that follow the pattern log-*. My concern is about how Elasticsearch handles this, given the index permissions and space access:
-
User 2 does not have access to the other spaces, and the index
-
The rule enabled by the admin user in Space 1 should technically have access to all indices, but how are the index access permissions managed across different spaces?
Could you clarify how Elasticsearch handles index permissions and rule execution across multiple spaces with different user privileges?
Elastic documentation related to this please share
Same scenario for ML jobs ?