How CloudPulse Made Their Angular & React Sidebars 100% Data-Driven
Before SSO.ID v2, CloudPulse maintained a massive sidebar-items.ts file filled with nested allowedRoles: ['SuperAdmin', 'FinanceManager', 'BillingAuditor'] arrays. Every time an enterprise customer asked for a custom role, developers had to edit sidebar-items.ts and redeploy the frontend.
By registering their application's navigation tree in SSO.ID v2 App Pages ( /app-pages & /api/applications/{id}/menus), CloudPulse's frontend now fetches the authenticated user's permitted menu tree at login time and automatically renders only the parent/child pages the user has view access to — while passing add, update, and delete flags directly to page components.