opcr-io / policy

CLI for building OPA policies into OCI images
https://www.openpolicycontainers.com
Apache License 2.0
212 stars 12 forks source link

Pulling an image in the wrong organization returns a 500 Internal Server Error #135

Closed ogazitt closed 1 year ago

ogazitt commented 1 year ago

This is not a very discoverable error.

It should likely return a 404 if the org is not found.

Perhaps it should return a 403 if the user (via their API-key / PAT) doesn't have permission to the organization?

carabasdaniel commented 1 year ago

This issue was fixed on the registry.