Skip to content

Commit

Permalink
fix: datasets permission is missing (#7787)
Browse files Browse the repository at this point in the history
  • Loading branch information
crazywoola authored Aug 29, 2024
1 parent ad30668 commit c441bea
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 c441bea

Please sign in to comment.