You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| HTTP method | Endpoint | Endpoint Authentication | Anonymous | Authenticated | Create Jobs Groups | Update Jobs Groups | Admin Groups | Delete Groups | Notes |
| POST | Jobs |_please see job create<br>authorization table_|_please see job create<br>authorization table_|_please see job create<br>authorization table_| Any<br>_JobsCreateOwner_|__no__| Any<br>_JobsCreateAny_|__no__||
37
-
| GET | Jobs |_JobRead_|__no__| Has Access<br>_JobReadAccess_| Has Access<br>_JobReadAccess_|__no__| Any<br>_JobReadAny_|__no__||
38
-
| GET | Jobs/_jid_|_JobRead_|__no__| Has Access<br>_JobReadAccess_| Has Access<br>_JobReadAccess_|__no__| Any<br>_JobReadAny_|__no__||
39
-
| POST | Jobs/statusUpdate |_please see job create<br>authorization table_|__no__|_please see job update<br>authorization table_|__no__| Owner<br>_JobStatusUpdateOwner_| Any<br>_JobStatusUpdateAny_|__no__||
38
+
| POST | Jobs |_JobCreate_|_JobCreateConfiguration_|_JobCreateConfiguration_| Any<br>_JobsCreateOwner_|__no__| Any<br>_JobsCreateAny_|__no__||
39
+
| GET | Jobs |_JobReadMany_|__no__| Has Access<br>_JobReadAccess_| Has Access<br>_JobReadAccess_|__no__| Any<br>_JobReadAny_|__no__||
40
+
| GET | Jobs/_jid_|_JobReadOne_|__no__| Has Access<br>_JobReadAccess_| Has Access<br>_JobReadAccess_|__no__| Any<br>_JobReadAny_|__no__||
41
+
| POST | Jobs/statusUpdate |_JobStatusUpdate_|__no__|_JobStatusUpdateConfiguration_|__no__| Owner<br>_JobStatusUpdateOwner_| Any<br>_JobStatusUpdateAny_|__no__||
|_#all_|_#all_| any user can access this endpoint, both anonymous and authenticated |_#all_| Any user can create this instance of the job |
49
-
|_#admin_| ADMIN_GROUPS | Only users belonging to any group listed in ADMIN_GROUPS will be able to access the endpoint | ADMIN_GROUPS | Only users belonging to any group listed in ADMIN_GROUPS will be able to create this instance of the job |
50
-
|_#authenticated_|_#user_| any valid users can access the endpoint, independently from their groups |_#user_| any valid users can cretae this instance of the job |
51
51
|_#datasetPublic_|_#all_| any user can access this endpoint, both anonymous and and authenticated |_#datasetPublic_| the job instance will be created only if all the datasets listed are __public__|
52
+
|_#authenticated_|_#user_| any valid users can access the endpoint, independently from their groups |_#user_| any valid users can cretae this instance of the job |
52
53
|_#datasetAccess_|_#user_| any valid user can access this endpoint, independently from their groups |_#datasetAccess_| the job instance will be created only if the user has access to all the datasets listed |
53
54
|_#datasetOwner_|_#user_| any valid user can access this endpoint, independently from their groups |_#datasetOwner_| the job instance will be created only if the user is part of all the datasets owner group |
54
-
|__*GROUP*__|__*GROUP*__| only users that belongs to the specified group can access the endpoint |__*GROUP*__| the job instance will be created only if all the datasets listed belong to the group specified |
55
+
|__*@GROUP*__|__*GROUP*__| only users that belongs to the specified group can access the endpoint |__*GROUP*__| the job instance will be created only if all the datasets listed belong to the group specified |
55
56
|__*USER*__|__*USER*__| only the specified user can access the endpoint |_#datasetOwner_| the job instance will be created only if all the datasets listed are owned by any of the user's groups |
56
57
57
58
__IMPORTANT__: use option _#all_ carefully, as it allows anybody to create a new job. It is mostly use for debuging and testing
58
59
59
60
#### Job Status Update Authorization Table
60
-
These authorization permissions are configured directly in the __*update*__ section of the job configuration.
61
-
They apply to the jobs endpoint POST:Jobs/statusUpdate
61
+
The _JobStatusUpdateConfiguration_ authorization permissions are configured directly in the __*update*__ section of the job configuration.
62
+
Any positive match will results in the user acquiring _JobStatusUpdate_ endpoint authorization apply to the jobs endpoint POST:Jobs/statusUpdate
|_#all_|_#all_| any user can access this endpoint, both anonymous and authenticated |_#all_| Any user can update the status of this job instance |
66
-
|_#owner_|_#user_|valid user can access the endpoint |_#jobOwner_|a user that belongs to the group listed as job owner can perform the update |
67
-
|_#admin_|ADMIN_GROUPS|Only users belonging to any group listed in ADMIN_GROUPS will be able to access the endpoint |ADMIN_GROUPS|Only users belonging to any group listed in ADMIN_GROUPS are able to update the job status|
68
-
|__*GROUP*__|__*GROUP*__| only users that belongs to the specified group can access the endpoint |__*GROUP*__| the job status can be updated only by users who belong to the group specified |
67
+
|_#jobOwnerUser_|_#user_|authenticated user can access the endpoint |_#jobOwnerUser_|only the user that is listed in field _ownerUser_ can perform the update |
68
+
|_#jobOwnerGroup_|_#user_|authenticated user can access the endpoint |_#jobOwnerGroup_|any user that belongs to the group listed in field _ownerGroup_ can perform the update|
69
+
|__*@GROUP*__|__*GROUP*__| only users that belongs to the specified group can access the endpoint |__*GROUP*__| the job status can be updated only by users who belong to the group specified |
69
70
|__*USER*__|__*USER*__| only the specified user can access the endpoint |__*USER*__| the job status can be updated only by the user indicated |
70
71
71
72
__IMPORTANT__: use option _#all_ carefully, as it allows anybody to update the status of the job. It is mostly use for debuging and testing
0 commit comments