Skip to content

Commit 02fc284

Browse files
authored
Change admin auth requirement to permission-based for data uploader (#219)
1 parent f2a9694 commit 02fc284

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • materializationengine/blueprints/upload

materializationengine/blueprints/upload/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def index():
169169

170170
@upload_bp.route("/step<int:step_number>")
171171
@reset_auth
172-
@auth_requires_admin
172+
@auth_requires_permission("edit", table_arg="datastack_name")
173173
def wizard_step(step_number):
174174

175175
total_steps = 4

0 commit comments

Comments
 (0)