Skip to content

Commit 8555bfa

Browse files
committed
Mark user creation API endpoint as admin-only
Fixes #21148
1 parent 07a8b64 commit 8555bfa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/galaxy/webapps/galaxy/api/users.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,7 @@ def delete_custom_builds(
596596
"/api/users",
597597
name="create_user",
598598
summary="Create a new Galaxy user. Only admins can create users for now.",
599+
require_admin=True,
599600
)
600601
def create(
601602
self,

0 commit comments

Comments
 (0)