Compare commits

...

4 Commits

Author SHA1 Message Date
Arthur
30350ff996 fixes 2026-02-13 12:52:59 -08:00
Arthur
bb90b654cd fixes 2026-02-12 13:47:33 -08:00
Arthur
fbd74d3b2c fixes 2026-02-12 13:36:50 -08:00
Arthur
a2f31b1094 #21364 update swagger endpoint for /api/extras/scripts/ 2026-02-12 13:26:49 -08:00

View File

@@ -307,7 +307,6 @@ class ScriptViewSet(ModelViewSet):
"""
Run a Script identified by its numeric PK or module & name and return the pending Job as the result
"""
script = self._get_script(pk)
if not request.user.has_perm('extras.run_script', obj=script):