Skip to content

Commit

Permalink
fix: add ADMIN role check to eager execution endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
tcp committed May 31, 2024
1 parent feffdab commit 3f2c1b3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ def allow_guest_signup(
@service_method(
path="settings.enable_eager_execution",
name="enable_eager_execution",
roles=ADMIN_ROLE_LEVEL,
warning=HighSideCRUDWarning(confirmation=True),
)
def enable_eager_execution(
Expand Down

0 comments on commit 3f2c1b3

Please sign in to comment.