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 SOL Console Button in Operations menu on Sidebar Based on User Privilege #126

Open
FarahRasheed1 opened this issue Jul 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@FarahRasheed1
Copy link
Contributor

Describe the bug

The SOL (Serial Over LAN) console button is currently visible to all users in the sidebar under Operations, regardless of their privilege level. This can lead to unauthorized access to the SOL console.

Related to #124

To Reproduce

Log in to the system with a user account that does not have the necessary privileges for accessing the SOL console (privilege role of operator or read only).
Navigate to the 'Operations' section on the sidebar.
Observe that the SOL console is visible and accessible.

Expected behavior

The SOL console button should be conditionally rendered in the 'Operations' section on the sidebar based on user privilege. Only users with the appropriate permissions should see and access this button. This ensures that unauthorized users cannot access the SOL console functionality.

Screenshots

image

@gtmills gtmills added the enhancement New feature or request label Oct 7, 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
Projects
None yet
Development

No branches or pull requests

2 participants