Sync same logic for datasets. (#27056)

This commit is contained in:
Eric Guo
2025-10-18 11:49:20 +08:00
committed by GitHub
parent 894e38f713
commit 5937a66e22
3 changed files with 1 additions and 4 deletions

View File

@@ -468,7 +468,6 @@ class DatasetApi(Resource):
dataset_id_str = str(dataset_id)
current_user, _ = current_account_with_tenant()
# The role of the current user in the ta table must be admin, owner, or editor
if not (current_user.has_edit_permission or current_user.is_dataset_operator):
raise Forbidden()