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

Access control; prevent read-only users from firing event #15

Closed
STaveras opened this issue Aug 14, 2020 · 2 comments
Closed

Access control; prevent read-only users from firing event #15

STaveras opened this issue Aug 14, 2020 · 2 comments

Comments

@STaveras
Copy link

I had an issue where a read-only user accidentally hit the Emergency Stop button; I don't think they should be able to do this. Please use octoprint.access.permissions to prevent readonly or guest users from using this button. Thanks!

@Sebclem
Copy link
Owner

Sebclem commented Aug 17, 2020

Fixed, i'm using the "Control" permission. If you don't have this permission, the button will not show up.

@Sebclem Sebclem closed this as completed Aug 17, 2020
@STaveras
Copy link
Author

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

2 participants