- Updated nuxt.config.js to include Authentik configuration and public keys for client-side access. - Introduced a new composable, useAuth.js, for handling authentication logic with Authentik, including user validation, login, and logout functionalities. - Enhanced documentation to reflect the simplified RBAC structure and the integration of Authentik, emphasizing user-centric design and streamlined permission management. - Refactored middleware for authentication checks and improved error handling during user validation. - Created new pages for login and dashboard, ensuring proper routing and user experience. - Removed obsolete Metabase integration and unnecessary complexity from the project structure.
78 lines
1.6 KiB
JavaScript
78 lines
1.6 KiB
JavaScript
export default [
|
|
{
|
|
"header": "Main",
|
|
"description": "",
|
|
"child": [
|
|
{
|
|
"title": "Dashboard",
|
|
"path": "/dashboard",
|
|
"icon": "ic:outline-dashboard",
|
|
"child": [],
|
|
"meta": {}
|
|
},
|
|
{
|
|
"title": "Dashboard RBAC",
|
|
"path": "/dashboard-rbac",
|
|
"icon": "ic:outline-dashboard",
|
|
"child": [],
|
|
"meta": {}
|
|
}
|
|
],
|
|
"meta": {}
|
|
},
|
|
{
|
|
"header": "Identity & Access Management",
|
|
"description": "Complete user, group, and role management",
|
|
"child": [
|
|
{
|
|
"title": "Users",
|
|
"path": "/users",
|
|
"icon": "ph:users",
|
|
"child": []
|
|
},
|
|
{
|
|
"title": "Groups",
|
|
"path": "/groups",
|
|
"icon": "ph:users-three",
|
|
"child": []
|
|
},
|
|
{
|
|
"title": "Roles",
|
|
"icon": "ph:shield-check",
|
|
"child": [
|
|
{
|
|
"title": "Role List",
|
|
"path": "/roles",
|
|
"icon": "ph:list",
|
|
"child": []
|
|
},
|
|
{
|
|
"title": "Templates",
|
|
"path": "/roles/templates",
|
|
"icon": "ph:copy",
|
|
"child": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"title": "Applications",
|
|
"icon": "ph:app-window",
|
|
"child": [
|
|
{
|
|
"title": "Application List",
|
|
"path": "/applications",
|
|
"icon": "ph:list",
|
|
"child": []
|
|
},
|
|
{
|
|
"title": "Resources",
|
|
"path": "/applications/resources",
|
|
"icon": "ph:gear",
|
|
"child": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"meta": {}
|
|
}
|
|
] |