mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 08:09:22 +00:00
Problem: Suppose we want to give POST permission for all log streams. Then we use orgId as entity, as we give permission for all log streams in that org. If orgId and stream name are same. For eg. default log stream in default org. The permission object for post permission on single "default" (name of stream) log stream and Post permission on all log streams in "default" org, both are same. And this creates a conflict Solution: While giving all resources permission on any of resource type, we prefix orgId with `_all_` and this will not conflict with any resource --------- Co-authored-by: oasisk <ashish.j.kolhe@gmail.com>