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]: Prevent assigning CREATE/EDIT (and other) permissions if a user or group doesn't have VIEW permission #14969

Closed
swift2512 opened this issue Jun 26, 2024 · 1 comment

Comments

@swift2512
Copy link

Is your feature request related to a problem? Please describe.

Currently, you are allowed to give other permissions to user/group without giving them VIEW right. Such user can't access hardware list directly, but can access it through other links.

Describe the solution you'd like

VIEW permission should be mandatory if any other permission is given to that group/user.

Elegant way: clicking on radio button for (EDIT, CREATE, etc.) automatically marks VIEW radio button.
Not so elegant: system does a check when pressing SAVE and gives an error message, like "You cannot give EDIT permission without giving VIEW permission first."

Describe alternatives you've considered

No response

Additional context

No response

@snipe
Copy link
Owner

snipe commented Jun 26, 2024

This feels more like an administrative control to me. I can definitely see use-cases where automations are meant to have only the permissions they need, and viewing isn't necessary.

@snipe snipe closed this as completed Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants