A new route group "admin" (the portal's service client only) serves the staff admin area: tenant search with 30-day usage and last activity, one detail call with entitlements, subscriptions, licences, members and recent audit, trial extension (moves trial entitlements with it and reopens a trial that expired into read-only), invite resend, and the audit log across tenants. Changes made from the admin area are audited under the staff member the portal names in X-Staff-Subject / X-Staff-Email; the header only counts from a client that holds the admin group. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
48 KiB
48 KiB