Authorization / privileges for OpenSearch Dashboards plugins

Hi there,

we are developing an OpenSearch Dashboards plugin (currently based on OSD 1.2.0) and were wondering whether OSD exposes any API to participate in OSD’s authorization mechanism (e.g., to provide users with read-only vs. read-write access and to hide unavailable actions).

We have already located AuthorizationProvider / AuthorizationContext, but haven’t seen this being used in the existing OSD code-base.

Your input is much appreciated!

Thanks,
Thilo