package server import ( "net/http" "git.breakpilot.com/platform/tenant-registry/internal/authz" ) // getAuthzCatalogue — GET /v1/authz/catalogue: the catalogue of rights // (capabilities, bundles, position presets; RBAC plan step 1). Read-only // and the same for everyone; services read it to expand a person's bundle // (step 2). Route group "authz": a service client needs that grant in // AUTHZ_RULES. Nothing decides access by it yet. func (s *Server) getAuthzCatalogue(w http.ResponseWriter, r *http.Request) { writeJSON(w, http.StatusOK, authz.Current()) }