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

[Feature Request] Declutter menu using roles #6880

Closed
w0otness opened this issue May 30, 2024 · 4 comments
Closed

[Feature Request] Declutter menu using roles #6880

w0otness opened this issue May 30, 2024 · 4 comments
Labels
enhancement New feature or request plugins Plugin related work untriaged

Comments

@w0otness
Copy link

Is your feature request related to a problem? Please describe

All menu items should have a way to be hidden or disabled, given the rapid expansion of features.

Menu items still show for things that are unused by certain roles or cant work because underlying permissions the plugin requires are denied, leading to many of the features looking "broken" when they are just disabled.

This behaviour already exists for the Security plugin, where "Security" menu only shows when "security_manager" role is assigned.

Describe the solution you'd like

Have each menu item map to a role, like the "security_manager" role.

Introduce inheritance/composition for roles/permissions, so meta roles can be created that reference other roles, effectively giving the administrator the ability to centralize without having to manage "Mapped users" for every granular role.

A nice to have alongside this would be a way to see what each plugin requires for permissions to enable each of it's features, so enabling a particular menu item won't be crippled from the start, like "Reporting" where write access is required but not explained:Reporting Documentation

Related component

Plugins

Describe alternatives you've considered

No response

Additional context

No response

@w0otness w0otness added enhancement New feature or request untriaged labels May 30, 2024
@github-actions github-actions bot added the plugins Plugin related work label May 30, 2024
@andrross
Copy link
Member

@opensearch-project/admin Can you transfer this to https://github.com/opensearch-project/OpenSearch-Dashboards?

@prudhvigodithi prudhvigodithi transferred this issue from opensearch-project/OpenSearch May 31, 2024
@Hailong-am
Copy link
Collaborator

@w0otness would #4944 works for you? with workspace, you can customize the which menu will show and hide

@w0otness
Copy link
Author

w0otness commented Jun 3, 2024

Workspaces would satisfy the menu visibility. Is it replacing Tenants, or working as structured views inside Tenants?

@Hailong-am
Copy link
Collaborator

Is it replacing Tenants, or working as structured views inside Tenants?

Yes, the target is to replace tenants. Cc @xluo-aws

@w0otness w0otness closed this as completed Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request plugins Plugin related work untriaged
Projects
None yet
Development

No branches or pull requests

3 participants