Skip to content

Commit d7dc87d

Browse files
Merge pull request #25 from imcaizheng/access-create-jobs-for-all-members
update access rules for /jobs endpoints in Swagger [skip ci]
2 parents 9fd9e66 + ca0876f commit d7dc87d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/swagger.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ paths:
2222
description: |
2323
Create job.
2424
25-
**Authorization** Topcoder token with write job scope is allowed
25+
**Authorization** All topcoder members are allowed
2626
security:
2727
- bearerAuth: []
2828
requestBody:
@@ -67,7 +67,7 @@ paths:
6767
description: |
6868
Search jobs.
6969
70-
**Authorization** Topcoder token with read job scope is allowed
70+
**Authorization** All topcoder members are allowed
7171
security:
7272
- bearerAuth: []
7373
parameters:
@@ -231,7 +231,7 @@ paths:
231231
description: |
232232
Get job information by id.
233233
234-
**Authorization** Topcoder token with read job scope is allowed
234+
**Authorization** All topcoder members are allowed
235235
security:
236236
- bearerAuth: []
237237
parameters:
@@ -290,7 +290,7 @@ paths:
290290
description: |
291291
Delete the job.
292292
293-
**Authorization** Topcoder token with delete job scope is allowed
293+
**Authorization** Every topcoder member can delete the job he/she created. bookingmanager can delete all jobs.
294294
security:
295295
- bearerAuth: []
296296
parameters:
@@ -340,7 +340,7 @@ paths:
340340
description: |
341341
Update the job.
342342
343-
**Authorization** Topcoder token with update job scope is allowed
343+
**Authorization** Every topcoder member can update the job he/she created. bookingmanager and connectmember can update all jobs.
344344
security:
345345
- bearerAuth: []
346346
parameters:

0 commit comments

Comments
 (0)