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

Hide applications for some users #160

Closed
remioo opened this issue Mar 24, 2020 · 8 comments
Closed

Hide applications for some users #160

remioo opened this issue Mar 24, 2020 · 8 comments
Labels
enhancement New feature or request triaged

Comments

@remioo
Copy link

remioo commented Mar 24, 2020

It would be good to be able to hide some items in the left sidebar for specific users.
I don’t want to see e.g the dev tools or index management for my basic users, while it should be available for more advanced ones

Basically like the Space privileges in xpack

@francisco-hoo
Copy link

I've started develop this feature, based on user roles.
So basically it's a plugin that integrates with some functions and endpoints of Open Distro Security to map roles with couple of allowed apps.

It should be interesting if we can integrate this with Open Distro Security for Kibana.

@daskanu
Copy link

daskanu commented Apr 16, 2020

I would also appreciate this feature because I don't want to receive tickets from my users, why they can't create alerts or set up index management even though they can see the icons.

@ghost
Copy link

ghost commented Apr 16, 2020

@francisco-hoo I have similar needs but I would like to completely remove some navigation items for all users. I want to keep only discover, visualizations and dashboard.

Is this achievable with a plugin?

@everlytics
Copy link

francisco-hoo says:

So basically it's a plugin that integrates with some functions and endpoints of Open Distro Security to map roles with couple of allowed apps.

This is going to be a fair amount of development effort I believe. Please let me know once you have it ready. I'm also looking for something like this. X-Pack has it and it is part of built-in Security framework.

But I still wonder if it is achievable with a plugin. Wouldn't it be risky fiddling with Open Distro's Security framework?

@seraphjiang seraphjiang added the enhancement New feature or request label May 19, 2020
@francisco-hoo
Copy link

Due to the changes in Kibana source code from 7.0.1 to 7.6.1, the development of this feature needs a little bit more effort.
Some changes in code are not documented by Kibana, so I've digging on the source code to find the best solution, basically the server.getUiNavLinks() was deprecated. Based on that I need to find another way to discover which apps (NavLinks) are disabled and/or hidden (_disabled, _hidden).

The only thing that I've found is related toui/chrome (front-end part)

I would like to share some prints of what I've done till now.. let me finish some things first guys

@drlight17
Copy link

I've recently done a hack type plugin for Kibana to hide some menu elements from users with no rights to Security section. There are also a few fixes to UI. It's a frontend plugin (some jquery +some css). Placed it here. Maybe someone will find it userful.

@sergiospa
Copy link

Hi all,
Are there any updates on this? It would be quite interesting to hide applications where a user can't access rather than accessing and getting a lot of errors. Any estimated time for this feature to be available?

Thanks!

@davidlago
Copy link

Conversation continues here opensearch-project/security#2701, closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triaged
Projects
None yet
Development

No branches or pull requests

8 participants