Skip to content

Commit

Permalink
feat: update is_dataset_editor dataset list api post
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhouhaoJiang committed Jul 8, 2024
1 parent 85c8399 commit 6312e7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/controllers/console/datasets/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def post(self):
args = parser.parse_args()

# The role of the current user in the ta table must be admin, owner, or editor, or dataset_operator
if not current_user.is_editor:
if not current_user.is_dataset_editor:
raise Forbidden()

try:
Expand Down

0 comments on commit 6312e7b

Please sign in to comment.