Commit Graph

6 Commits

Author SHA1 Message Date
Matt da9ab99519 Enhance authorization and authentication handling by optimizing state synchronization from middleware cache, implementing error handling in custom auth, and adding admin audit and system logs pages with filtering and real-time updates. 2025-07-09 13:00:01 -04:00
Matt 36048dfed1 Optimize auth initialization by using cached middleware state
- Replace API calls with cached auth state from middleware in useAuthorization
- Add fallback to session cache and watchers for auth state updates
- Change initialization from async to synchronous for better performance
- Add DuplicateNotificationBanner component
2025-07-09 12:43:24 -04:00
Matt 3615e2fa9b Add duplicate management interface with scanning and merging functionality 2025-07-09 12:32:12 -04:00
Matt 4a60782f89 Implement admin functionality for merging duplicate records with error handling and logging 2025-07-09 12:21:41 -04:00
Matt b3e7d04b86 Enhance authorization handling by syncing auth state from Nuxt payload and loading from API if necessary; improve dashboard logging for user roles and groups 2025-07-09 12:12:13 -04:00
Matt f8d5e4d7e2 Add role-based authorization system with admin functionality
- Implement authorization middleware and composables for role checking
- Add groups/roles support to authentication and session management
- Create admin dashboard pages and API endpoints
- Add audit logging utility for tracking user actions
- Enhance expense page with role-based access control
- Improve session caching with authorization state management
2025-07-09 10:40:27 -04:00