Skip to content

Commit

Permalink
fix the permission policy and add description to the docs of the webt…
Browse files Browse the repository at this point in the history
…ools-summary
  • Loading branch information
Stefan Vitanov committed Feb 17, 2025
1 parent 452cf59 commit d68b469
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion driver/web/admin_permission_policy.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ p, delete_configs_gateway, /gateway/api/admin/configs/*, (GET)|(DELETE), Delete
p, delete_configs_gateway, /gateway/api/admin/configs, (GET),

p, webtools_blacklist, /gateway/api/admin/webtools-blacklist, (GET)|(POST)|(PUT)|(DELETE), Webtools blacklist actions
p, all_webtools*, /gateway/api/admin/webtools*, (GET)|(POST)|(PUT)|(DELETE), Webtools actions
p, all_webtools, /gateway/api/admin/webtools-summary, (GET)|(POST)|(PUT)|(DELETE), Webtools actions

2 changes: 2 additions & 0 deletions driver/web/docs/gen/def.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,8 @@ paths:
summary: Get webtools summary
description: |
Get webtools summary
**Auth:** Requires valid admin token and "all_webtools" permission
security:
- bearerAuth: []
responses:
Expand Down
2 changes: 2 additions & 0 deletions driver/web/docs/resources/admin/webtools-summary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ get:
summary: Get webtools summary
description: |
Get webtools summary
**Auth:** Requires valid admin token and "all_webtools" permission
security:
- bearerAuth: []
responses:
Expand Down

0 comments on commit d68b469

Please sign in to comment.