Skip to content

Commit

Permalink
fix: datasets permission is missing (langgenius#7787)
Browse files Browse the repository at this point in the history
  • Loading branch information
crazywoola authored and cuiks committed Sep 2, 2024
1 parent 2a2d95e commit b4eb651
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/controllers/console/datasets/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def post(self):
name=args["name"],
indexing_technique=args["indexing_technique"],
account=current_user,
permission=DatasetPermissionEnum.ONLY_ME,
)
except services.errors.dataset.DatasetNameDuplicateError:
raise DatasetNameDuplicateError()
Expand Down

0 comments on commit b4eb651

Please sign in to comment.