You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2021/10/01 15:04:42 UTC
[GitHub] [trafficcontrol] shamrickus commented on a change in pull request #6144: Document endpoint perms for role based permissions
shamrickus commented on a change in pull request #6144:
URL: https://github.com/apache/trafficcontrol/pull/6144#discussion_r720325707
##########
File path: docs/source/api/v4/cdn_locks.rst
##########
@@ -71,6 +72,7 @@ Allows user to acquire a lock on a CDN.
:Auth. Required: Yes
:Roles Required: "admin" or "operations"
+:Permissions Required: CDNLOCK:CREATE
Review comment:
I'll explicitly require the `READ` perm on the 'same' route and directly related routes.
I'm torn on `snapshots`, it would pretty much need read permission for everything which doesn't seem optimal; hence why I have the permissions specifically for snapshots.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org