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

Saved commands can be deleted by any non-privileged user. #1127

Open
TecSeguridad opened this issue May 22, 2023 · 5 comments
Open

Saved commands can be deleted by any non-privileged user. #1127

TecSeguridad opened this issue May 22, 2023 · 5 comments

Comments

@TecSeguridad
Copy link

I'll explain a case that happened to me several times. I create a saved command as an administrator, for example, "Power cut," and then assign it to all regular users to avoid having to do it multiple times. Then a non-privileged user deletes it from their account, and it disappears for everyone. I believe they shouldn't be allowed to delete it, especially if it was created by an administrator.

Greetings.

@tananaev
Copy link
Member

It sounds like you're sharing the same commands with everyone. Instead you should create separate instances for each user. Or you can make your users read-only.

@TecSeguridad
Copy link
Author

Thank you Anton i understand, However, when there are many users, it becomes a bit cumbersome, but I think it would be good if only administrators could delete commands shared by themselves. Thank you for the response.

@tananaev
Copy link
Member

It's going to require a big change to the permissions architecture we have now.

@ubiteczla
Copy link

use the LIMIT COMMANS checkbox they can see the comands you share but not edit or delete them

@TecSeguridad
Copy link
Author

That´s a good option, thanks

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

3 participants