Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Datasets): restrict dataset deletion only to creators and super-…
…users (#1713) * feat(Datasets): restrict dataset deletion only to creators and super-users * tests: add tests for datasets deletion check * chore: improve deletion error message Co-authored-by: Daniel Vila Suero <daniel@recogn.ai> * Format long strings Co-authored-by: Daniel Vila Suero <daniel@recogn.ai> (cherry picked from commit c5ab270)
- Loading branch information
1 parent
e9b8a89
commit 5a2a9df
Showing
3 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters