I installed X-pack and i loved it . I still have some concerns regarding user access and please let me know if the following can be achieved with X-pack access management . So my requirement is
User can only open abc dashboard not any other dashboard (or other dashboards should not visible to him ).This user will only have read permission not write or delete permission.
User can change password.
All other X-pack features like Console, Visualize, management (connect data,users,roles,Index pattern,advance settings ) shuld not be visible as i want to provide a very basic read permission to the user to a dashboard.I do not want user to make any changes to the dashboards etc.
So in short when user logsin he can only see dashboard ,he can only share , print , export this dashboard, can change password.Rest other stuff should be disabled or not visible to this user
Please suggest with which role or privilege i can achieve the above in X-pack.
Thanks for installing X-Pack and providing feedback.
User can only open abc dashboard not any other dashboard (or other dashboards should not visible to him ).This user will only have read permission not write or delete permission.
Currently the dashboard level security is not possible but we are tracking the issue here. The workaround would be to create multiple Kibana instances with different set of dashboards.
User can change password.
As of 5.0 Alpha-5, it is possible for users to change their own passwords. It is as simple as clicking on their user icon that appears on the bottom left pane.
All other X-pack features like Console, Visualize, management (connect data,users,roles,Index pattern,advance settings ) shuld not be visible as i want to provide a very basic read permission to the user to a dashboard.I do not want user to make any changes to the dashboards etc.
I'd like to clarify that Visualize and management are not X-Pack features as they are core Kibana features. It would be possible to hide X-Pack tabs such as Console, Monitoring, Graph by using the following in your 'kibana.yml'
xpack.plugin_name.enabled: false
More detailed documentation is here. And we are currently tracking the progress for having the ability to hide core Kibana tabs here.
Thank You Kim for this elaborative answer
My further observations
xpack.plugin_name.enabled: false did not work for me , so I checked the documents and implemented following . If I want to disable monitoring plugin I have to mention xpack.monitoring.enabled: false in both ES.yml and Kibana.yml. After doing this monitor tab is gone in kibana .
Well I guess exactly the same I can do for other plugins like graph , console etc
Now my concern is since I have disabled this feature entirely , now what if admin user wants to do some activity on monitoring plugin. So again this feature needs to be enabled on both ES and Kibana and this needs restart which is not recommended in prod.
What I believe the best practice is to provide user based access to the plugins like admin can see all kibana , x-pack plugins but normal users can only see few of them like reporting, dashboard, discover.
Are we considering this approach in future ?
In order to hide a tab (e.g. Monitoring tab) successfully, you need to make sure that both Elasticsearch and Kibana instances to be restarted.
I observed the same behavior when I took the following steps only:
stop the Kibana instance
modify kibana.yml
restart kibana instance
Instead, you need to take the following steps to achieve what you want, which is not disabling the feature entirely and just hiding the monitoring tab from the UI.
stop both kibana and Elasticsearch instances
modify kibana.yml
restart Elasticsearch instance then Kibana instance.
Let me know if this works for you.
What I believe the best practice is to provide user based access to the plugins like admin can see all kibana , x-pack plugins but normal users can only see few of them like reporting, dashboard, discover.
Are we considering this approach in future ?
As described in my earlier comment, we are tracking the issue to hide the core Kibana tabs here.
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.