36 Commits

Author SHA1 Message Date
ef5526baf1 Refactor Application Creation and Management Logic
- Simplified the application creation process by consolidating form fields and enhancing validation.
- Updated the create application page to streamline user experience with clearer provider options and improved layout.
- Implemented SweetAlert for success and error notifications during user actions, replacing traditional alerts.
- Enhanced the applications index page with dynamic filtering and improved data fetching from the Authentik API.
- Refactored API endpoints to utilize slugs for application identification, ensuring consistency with Authentik's structure.
- Improved authentication handling by updating the requireAuth utility to support cookie-based authentication.
2025-06-17 11:53:15 +08:00
bb98dc0262 Update Header and Documentation for Authentik Integration
- Changed logout link in Header.vue from "/logout" to "/api/auth/logout" to align with the new Authentik API structure.
- Enhanced implementation status documentation to reflect the completion of the backend authentication system, including OAuth2 integration, session management, and middleware setup.
- Updated the implementation plan to outline the completed authentication foundation and next steps for RBAC database and API development.
- Added a new document detailing the authentication implementation, including server API endpoints, middleware, and composable usage for a comprehensive overview of the authentication system.
2025-05-31 19:20:38 +08:00
379eb17246 Implement Authentik Integration and Simplify RBAC Structure
- 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.
2025-05-31 19:15:21 +08:00
a2a81bd3bb Refactor RBAC Management and Dashboard Integration
- Removed the RBAC Management section from the navigation structure.
- Updated the dashboard page title to "RBAC Management" and modified the breadcrumb to reflect the new path.
- Simplified the dashboard component by removing unused data and integrating new tab functionalities for managing applications, groups, roles, and permissions.
- Enhanced the create group and create role pages to include application assignment and simplified form states.
- Updated user creation page to include application assignment and filtered group/role options based on the selected application.
- Deleted the obsolete rbac-permission page to streamline the project structure.
2025-05-31 17:30:11 +08:00
919a52fe51 Add comprehensive documentation for RBAC system and Authentik integration
- Introduced multiple new documents detailing the business justification, features overview, implementation status, backend implementation plan, and Authentik integration.
- Created a structured approach to RBAC management, emphasizing user-friendly interfaces and streamlined permission management.
- Highlighted the benefits of the RBAC system, including operational efficiency, cost savings, enhanced security, and scalability.
- Documented the technical architecture, database schema, and API endpoints for backend integration.
- Ensured all documentation aligns with the new project structure and provides clear guidance for future development and integration efforts.
2025-05-31 16:32:31 +08:00
f05dd42c16 Enhance README and implement RBAC system with Authentik integration
- Updated README.md to reflect the new project name and provide an overview of the Role-Based Access Control (RBAC) system.
- Added new components for RBAC management, including:
  - PermissionExample.vue: Demonstrates permission-based navigation.
  - GroupCard.vue: Displays group information and assigned roles.
  - PermissionMatrix.vue: Visual representation of permissions across roles and resources.
  - RoleTemplates.vue: Quick role templates for applying pre-configured permissions.
  - StatsCards.vue: Displays statistics related to users, groups, and roles.
- Introduced useRbacPermissions.js for managing permission checks.
- Created docker-compose.yml for PostgreSQL and Redis services.
- Developed comprehensive documentation for application management and Authentik integration.
- Added multiple pages for managing applications, groups, roles, and users, including bulk operations and templates.
- Updated navigation structure to include new RBAC management paths.
2025-05-31 15:58:41 +08:00
78c02138d4 Merge remote-tracking branch 'origin/firdaus-rbac' into rbac 2025-05-30 11:34:05 +08:00
8527b25ac4 initial-rbac 2025-05-29 20:17:32 +08:00
4fed69246f Implement AI-driven Asnaf analysis and UI updates 2025-05-27 20:07:20 +08:00
Haqeem Solehan
545f5c6c93 Add Metabase integration with token generation API and update navigation 2025-05-27 11:39:49 +08:00
Zahirul Iman
9bca609235 Fix loading screen to use hardcoded logo URL 2025-05-27 11:38:38 +08:00
Zahirul Iman
f0298accb3 Style: Refactor logo paths and continue debugging site settings save/upload errors 2025-05-27 11:23:05 +08:00
Zahirul Iman
4913d345de Initial commit: Refactor Niise to corradAF and baseline setup 2025-05-27 10:38:19 +08:00
8f4c7ad0b6 Fix api and menu name 2024-11-20 05:24:18 +08:00
a37bba93fe Add nuxt template 2024-11-15 19:05:37 +08:00
e722d4b062 Setup latest corrad dev 2024-11-15 19:02:45 +08:00
10a3209021 add latest devtools 2024-11-15 19:00:12 +08:00
924e424251 Add accessibility 2024-10-08 14:48:28 +08:00
Haqeem Solehan
540bbaa443 jlp 2024-09-09 19:41:19 +08:00
46144e5802 fix error 2024-09-06 11:56:16 +08:00
654020e8a8 Done for 2 2024-09-05 19:37:36 +08:00
efdd28afbd Done for now 2024-09-05 10:54:53 +08:00
7b1e5bbc13 Done permohonan temujanji with BE 2024-09-04 19:18:22 +08:00
Haqeem Solehan
254b6334af jlp 2024-09-04 16:13:12 +08:00
fa0838eddf Push for now 2024-09-04 15:37:12 +08:00
Haqeem Solehan
e7cd3fd367 jlp 2024-09-04 13:37:01 +08:00
4d31939b0f senarai w backend 2024-09-04 13:36:24 +08:00
fd4c511256 Merge branch 'dev' of https://github.com/corrad-software/niise into dev 2024-09-04 11:43:44 +08:00
f0ac6548bf Fix ui 2024-09-04 11:43:40 +08:00
Haqeem Solehan
e0acb6640f jlp 2024-09-04 11:43:16 +08:00
Haqeem Solehan
5303b07aa2 jlp 2024-09-02 18:11:48 +08:00
8a0f59e66e change laporan data to flight 2024-09-02 10:09:29 +08:00
772d425fdd Done ui niise 2024-08-30 09:58:17 +08:00
45bd30b143 Done Komponen, borang and datatable. 2024-08-28 10:16:11 +08:00
9662587eda change layout and add component 2024-08-28 07:44:52 +08:00
corrad-software
46b84b1535
Initial commit 2024-08-26 09:09:46 +08:00