🐛 Fix permissions on /api/status
Now requires the STATUS permission. Fixes #3492
This commit is contained in:
1 parent
81e1ad2ee7
commit
0a889dc7e6
1 file changed
+1
@@ -196,6 +196,7 @@ def apiPrinterState():
|
||||
|
||||
|
||||
@api.route("/version", methods=["GET"])
|
||||
@Permissions.STATUS.require(403)
|
||||
def apiVersion():
|
||||
return jsonify({
|
||||
"server": octoprint.server.VERSION,
|
||||
|
||||
Reference in new issue
Block a user