The server panicked at startup: the actions group declared require-staff:cards for /visa-master-payment-orders, which cards/visamaster already registers with require:cards, and rbac allows one policy per prefix. The group is now /visa-master-payment-orders/:id/actions, the same way /callback has its own prefix; the routes are unchanged. manager.New's handler registration moves into registerRoutes, and TestRegisterRoutes runs it without a database, so a conflicting policy fails the tests instead of the server. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5.5 KiB
5.5 KiB