MIT · core >=0.1.0-beta.1 · sink · linux_amd64, linux_arm64, darwin_arm64, windows_amd64 · 7464.5 KB · Nov 26, 2026
Fixes the review of 0.1.2.
Changing a printer's settings takes the operator role on that printer.
PUT /printers/{id}now asks the host withaccess.checkwhether the caller mayoperatethe device before it saves, and refuses withNOT_AN_OPERATOR(403) otherwise. Someone who may only see a printer can no longer change the speed or the bed the assist applies with the operator grant someone else gave it. Reading the settings stays open to viewers.module.yamlhas nochecksentry for this: the module already holdsoperateunderpermissions, which lets it ask about operate, and the manifest refuses an action named under both.
Switching the assist off through the API. A module has no contract to withdraw a grant itself (only a person can, through
DELETE /api/v1/grants/device/{id}), so the API description now tells a client that switches the assist off to withdraw the operator grant, as the page does. A grant left behind does nothing while the assist is off, and switching it back on now takes the operator role on the printer.
Sign in to comment.
No comments yet.