We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following API route is used to create an "Invalidate content" (aka purge request) on a delivery service:
$r->post("/api/$version/user/current/jobs")->over( authenticated => 1, not_ldap => 1 )->to( 'Job#create_current_user_job', namespace => $namespace );
This route current checks:
if role is ops (or higher) OR if delivery service is assigned to user.
instead it should follow this logic:
if (use_tenancy = 1) { check tenancy on delivery service } else { check if role is ops (or higher) OR if delivery service is assigned to user }
The text was updated successfully, but these errors were encountered:
@nir-sopher - i'm going to take a crack at this one
Sorry, something went wrong.
mitchell852
Successfully merging a pull request may close this issue.
The following API route is used to create an "Invalidate content" (aka purge request) on a delivery service:
$r->post("/api/$version/user/current/jobs")->over( authenticated => 1, not_ldap => 1 )->to( 'Job#create_current_user_job', namespace => $namespace );
This route current checks:
if role is ops (or higher) OR if delivery service is assigned to user.
instead it should follow this logic:
if (use_tenancy = 1) { check tenancy on delivery service }
else { check if role is ops (or higher) OR if delivery service is assigned to user }
The text was updated successfully, but these errors were encountered: