Mercurial > hg > orthanc-authorization
changeset 283:3ac48cee6f45
ExtraPermissions doc
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Thu, 14 Aug 2025 14:19:59 +0200 |
| parents | bdf991636589 |
| children | a9af7e0fa172 |
| files | Plugin/DefaultConfiguration.json |
| diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugin/DefaultConfiguration.json Wed Aug 13 18:16:50 2025 +0200 +++ b/Plugin/DefaultConfiguration.json Thu Aug 14 14:19:59 2025 +0200 @@ -133,5 +133,11 @@ // audit-logs ["get", "^/auth/audit-logs$", "admin-permissions|audit-logs"] ] + + // If you just need to add a few permissions, while preserving the default ones, + // You may just not specify any "Permissions" field and add a few entries in the ExtraPermissions + // "ExtraPermissions" : [ + // ["post", "^/my-plugin/do-something$", "all|upload"] + // ] } } \ No newline at end of file
