Skip to content

Commit

Permalink
fixed: Unable to upload annotations cvat-ai#4459
Browse files Browse the repository at this point in the history
  • Loading branch information
swkim-testworks committed Mar 24, 2022
1 parent 2a05316 commit 9089162
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- TDB

### Fixed
- Permission error occured when accessing the JobCommits (<https://github.com/openvinotoolkit/cvat/issues/4434>)
- job assignee can remove or update any issue created by the task owner (<https://github.com/openvinotoolkit/cvat/issues/4424>)
- Permission error occured when accessing the JobCommits (<https://github.com/openvinotoolkit/cvat/pull/4435>)
- job assignee can remove or update any issue created by the task owner (<https://github.com/openvinotoolkit/cvat/pull/4436>)
- Bug: Incorrect point deletion with keyboard shortcut (<https://github.com/openvinotoolkit/cvat/pull/4420>)
- Unable to upload annotations (<https://github.com/openvinotoolkit/cvat/issues/4459>)

### Security
- TDB
Expand Down
4 changes: 4 additions & 0 deletions cvat/apps/iam/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,8 @@ def get_scopes(request, view, obj):
('annotations', 'PATCH'): 'update:annotations',
('annotations', 'DELETE'): 'delete:annotations',
('annotations', 'PUT'): 'update:annotations',
('annotations', 'POST'): 'import:annotations',
('append_annotations_chunk', 'PATCH'): 'update:annotations',
('dataset_export', 'GET'): 'export:dataset',
('data', 'GET'): 'view:data',
('data_info', 'GET'): 'view:data',
Expand Down Expand Up @@ -790,6 +792,8 @@ def get_scopes(request, view, obj):
('annotations', 'PATCH'): 'update:annotations',
('annotations', 'DELETE'): 'delete:annotations',
('annotations', 'PUT'): 'update:annotations',
('annotations', 'POST'): 'import:annotations',
('append_annotations_chunk', 'PATCH'): 'update:annotations',
('data', 'GET'): 'view:data',
('issues', 'GET'): 'view',
('commits', 'GET'): 'view:commits'
Expand Down

0 comments on commit 9089162

Please sign in to comment.