I am creating a custom externally distributable plugin
But I want the plugin to be installed in specific namespaces only and be available to users with specific roles only
How can I implement it?
I checked on Kibana browser, but there I could find restricting access to indices only, and nothing about custom plugins. I believe I'll have to make some changes when installing plugins or in the code for registering the plugin on to the side navigation bar.
Please guide me.
You can hook into permission management from your custom plugin and have it show up in the configuration form for privileges for roles. E.g. see how the infra plugin is doing it (to pick an arbitrary example):
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.