authzed / spicedb-kubeapi-proxy

Secure access to the Kubernetes API using SpiceDB
https://authzed.com/spicedb
Apache License 2.0
21 stars 1 forks source link

Configurable error code #38

Open ecordell opened 1 year ago

ecordell commented 1 year ago

I wonder if we should make the error code configurable. Depending on the context returning a 403 would be leaking resources vs 404. If a cloud user hits /org/authzed via the UI, they would discover organizations that exist.

_Originally posted by @vroldanbet in https://github.com/authzed/spicedb-kubeapi-proxy/pull/32#discussion_r1335872101_