|
|
|
@ -645,12 +645,15 @@ class TaskPermission(OpenPolicyAgentPermission):
|
|
|
|
('annotations', 'PATCH'): 'update:annotations',
|
|
|
|
('annotations', 'PATCH'): 'update:annotations',
|
|
|
|
('annotations', 'DELETE'): 'delete:annotations',
|
|
|
|
('annotations', 'DELETE'): 'delete:annotations',
|
|
|
|
('annotations', 'PUT'): 'update:annotations',
|
|
|
|
('annotations', 'PUT'): 'update:annotations',
|
|
|
|
|
|
|
|
('annotations', 'POST'): 'import:annotations',
|
|
|
|
|
|
|
|
('append_annotations_chunk', 'PATCH'): 'update:annotations',
|
|
|
|
|
|
|
|
('append_annotations_chunk', 'HEAD'): 'update:annotations',
|
|
|
|
('dataset_export', 'GET'): 'export:dataset',
|
|
|
|
('dataset_export', 'GET'): 'export:dataset',
|
|
|
|
('data', 'GET'): 'view:data',
|
|
|
|
('data', 'GET'): 'view:data',
|
|
|
|
('data_info', 'GET'): 'view:data',
|
|
|
|
('data_info', 'GET'): 'view:data',
|
|
|
|
('data', 'POST'): 'upload:data',
|
|
|
|
('data', 'POST'): 'upload:data',
|
|
|
|
('append_tus_chunk', 'PATCH'): 'upload:data',
|
|
|
|
('append_data_chunk', 'PATCH'): 'upload:data',
|
|
|
|
('append_tus_chunk', 'HEAD'): 'upload:data',
|
|
|
|
('append_data_chunk', 'HEAD'): 'upload:data',
|
|
|
|
('jobs', 'GET'): 'view',
|
|
|
|
('jobs', 'GET'): 'view',
|
|
|
|
('import_backup', 'POST'): 'import:backup',
|
|
|
|
('import_backup', 'POST'): 'import:backup',
|
|
|
|
('export_backup', 'GET'): 'export:backup',
|
|
|
|
('export_backup', 'GET'): 'export:backup',
|
|
|
|
@ -790,6 +793,9 @@ class JobPermission(OpenPolicyAgentPermission):
|
|
|
|
('annotations', 'PATCH'): 'update:annotations',
|
|
|
|
('annotations', 'PATCH'): 'update:annotations',
|
|
|
|
('annotations', 'DELETE'): 'delete:annotations',
|
|
|
|
('annotations', 'DELETE'): 'delete:annotations',
|
|
|
|
('annotations', 'PUT'): 'update:annotations',
|
|
|
|
('annotations', 'PUT'): 'update:annotations',
|
|
|
|
|
|
|
|
('annotations', 'POST'): 'import:annotations',
|
|
|
|
|
|
|
|
('append_annotations_chunk', 'PATCH'): 'update:annotations',
|
|
|
|
|
|
|
|
('append_annotations_chunk', 'HEAD'): 'update:annotations',
|
|
|
|
('data', 'GET'): 'view:data',
|
|
|
|
('data', 'GET'): 'view:data',
|
|
|
|
('issues', 'GET'): 'view',
|
|
|
|
('issues', 'GET'): 'view',
|
|
|
|
('commits', 'GET'): 'view:commits'
|
|
|
|
('commits', 'GET'): 'view:commits'
|
|
|
|
|