Complete infrastructure reorganization to role-based structure
All checks were successful
Build And Push Image / docker (push) Successful in 1m50s

- Created all missing admin pages (users, settings, events, members, payments)
- Created board pages (governance, meetings)
- Updated dashboard router to use new /admin, /board, /member structure
- Added isMember alias to useAuth composable for consistency
- All pages now use correct role-based layouts and middleware
- Build verified successfully

The platform now has a clean separation:
- /admin/* - Administrator dashboard and tools
- /board/* - Board member governance and meetings
- /member/* - Member portal and resources

Next steps: Complete remaining member pages and clean up old dashboard files
This commit is contained in:
2025-08-30 22:44:04 +02:00
parent 7c49b9db66
commit 9fa9db9b8a
9 changed files with 3177 additions and 3 deletions

View File

@@ -41,6 +41,9 @@ export const useAuth = () => {
// Fallback to legacy tier system
return user.value?.tier === 'user';
});
// Alias for consistency with new naming convention
const isMember = isUser;
const isBoard = computed(() => {
// Check new realm roles first
@@ -300,6 +303,7 @@ export const useAuth = () => {
// Tier-based properties
userTier,
isUser,
isMember, // Alias for isUser, better naming convention
isBoard,
isAdmin,
firstName,