Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable password change for specific roles via Kibana UI #29093

Closed
blacktop opened this issue Jan 22, 2019 · 6 comments
Closed

Disable password change for specific roles via Kibana UI #29093

blacktop opened this issue Jan 22, 2019 · 6 comments
Labels
Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!

Comments

@blacktop
Copy link

Describe the feature:

I don't think that the demo user role should be able to change it's password. The password should only be able to be changed by an admin.

Describe a specific use case for the feature:

I have a demo instance of kibana facing the internet and I keep having people change the users password so others wanting to try the demo cannot access it.

@lukasolson lukasolson added the Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! label Jan 22, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-security

@legrego
Copy link
Member

legrego commented Jan 23, 2019

Hi @blacktop,

Kibana/Elasticsearch does not have the notion of a "demo user". This is likely an account setup by a project maintainer in the issues you linked.

If you wish to prevent password changes through the UI though, I'd recommend setting your users up outside of the native realm. Instead, you can use something like the file realm to define your usernames and passwords. For more information on roles, see: https://www.elastic.co/guide/en/elastic-stack-overview/current/realms.html

If you'd like help setting that up, feel free to start a conversation on our discussion boards!

@legrego legrego closed this as completed Jan 23, 2019
@blacktop
Copy link
Author

@legrego the ES backend is on ElasticCloud so I don't think that I can change the realm. This is a feature request. To create a Role that can't change it's password via the kibana UI.

@legrego legrego changed the title Disable password change on demo_user role Disable password change for specific roles via Kibana UI Jan 23, 2019
@legrego
Copy link
Member

legrego commented Jan 23, 2019

Thanks for clarifying! I renamed this issue to better capture what you’re looking for, and I’ll reopen this as well

@legrego legrego reopened this Jan 23, 2019
@kobelb
Copy link
Contributor

kobelb commented Jan 23, 2019

I'm wondering whether #18331 would solve the real underlying problem because being forced to share a login/password with your users in the first place seems less than ideal.

@kobelb
Copy link
Contributor

kobelb commented Jun 19, 2019

Closing this as I believe what we really want is improved anonymous access: #18331

@kobelb kobelb closed this as completed Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!
Projects
None yet
Development

No branches or pull requests

5 participants