RequireSuperuserOrOwnerAuth middleware requires a request to have
a valid superuser or regular record owner Authorization header set.
This middleware is similar to [apis.RequireAuth()] but
for the auth record token expects to have the same id as the path
parameter ownerIdPathParam (default to "id" if empty).
RequireSuperuserOrOwnerAuth middleware requires a request to have a valid superuser or regular record owner Authorization header set.
This middleware is similar to [apis.RequireAuth()] but for the auth record token expects to have the same id as the path parameter ownerIdPathParam (default to "id" if empty).