TO /api/4.0/servers/:hostname/update should allow setting config_apply_time
and revalidate_apply_time
even if user doesn't have the lock
#7047
Labels
This Bug Report affects these Traffic Control components:
Current behavior:
If a CDN is locked and a user tries to call
POST /api/4.0/servers/:hostname/update
with the query parametersconfig_apply_time
orrevalidate_apply_time
for a server in that CDN but the user doesn't hold the lock, TO denies the request with a 403.Expected behavior:
The aforementioned call should not return a 403 if the query parameters
config_apply_time
orrevalidate_apply_time
are used. This would allow caches to un-queue themselves after applying updates/revalidations even if the CDN is locked.Steps to reproduce:
As user A, lock the CDN. As user B, attempt to make the aforementioned request and observe the 403.
The text was updated successfully, but these errors were encountered: