Skip to content

Commit bdf3810

Browse files
authored
fix(authz): allow viewer to download artifacts (#774)
Signed-off-by: Miguel Martinez Trivino <[email protected]>
1 parent e901078 commit bdf3810

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/controlplane/internal/authz/authz.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ var ServerOperationsMap = map[string][]*Policy{
163163
"/controlplane.v1.CASCredentialsService/Get": {},
164164
// We have an endpoint to generate a download URL
165165
"/controlplane.v1.CASRedirectService/DownloadRedirect": {PolicyArtifactDownload},
166+
// Or to retrieve a download url
167+
"/controlplane.v1.CASRedirectService/GetDownloadURL": {PolicyArtifactDownload},
166168
// CAS Backend listing
167169
"/controlplane.v1.CASBackendService/List": {PolicyCASBackendList},
168170
// Available integrations

0 commit comments

Comments
 (0)