Hi,
I am trying to figure out how to user DevTools to create role and grant privilege to spaces. I tried with below codes but it says failed to parse role [QA]. unexpected field [spaces]. May i know where can i find the document to create role and grant spaces privileges using POST ?
Glad you have found an answer, but be aware that DevTools work with Elasticsearch directly and Spaces is a Kibana-only concept, so the request you have may not work as you expect in the future versions or even in this version. That's why you should use Kibana APIs to create Spaces-aware roles instead (e.g. with cURL, since DevTools cannot work with Kibana API endpoints).
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.