Hello Team,
I’m trying to create a custom plugin in opensearch-dashboard. Is there away I call opensearch-security api within my custom plugin?
eg: fetch('_plugins/_security/api/account)
I need to check if current loggedin user has an “all_access” role and perform some operations (ui or serverside) or if there is a way I can tap into opensearch-security within my custom plugin?
opensearch-dashboard: 2.3.1