generated from hackforla/.github-hackforla-base-repo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 97
Open
Labels
ResearchResearching best approach/solutionsResearching best approach/solutionscomplexity: largep-feature: User PermissionsFeature includes how user access levels / user permissions will be implemented in the productFeature includes how user access levels / user permissions will be implemented in the productrole: Back Endrole: devopssize: 3ptCan be done in 13-18 hoursCan be done in 13-18 hours
Milestone
Description
Overview
The current VRMS permission system (accessLevel) relies on hardcoded values / string matching checks (e.g., is_admin), which limits flexibility and maintainability. To enhance scalability and streamline permission management, permissions should be refactored into a middleware-based solution. This will allow for centralized handling and easier updates across the application.
Action Items
- Research approaches for refactoring the current permission system into a middleware-based solution.
- Ensure that the new implementation supports upcoming User Permission Search features, which are set to be merged in #1737.
- Design and document middleware architecture, including:
- Permission validation workflows.
- Integration points with existing authentication mechanisms.
- Create diagrams outlining the proposed middleware solution to illustrate system interactions and permission handling.
Resources/Instructions
- Review the related issue that uncovered this problem: Fix Super Admin User Login issue #1802.
- Ensure alignment with existing authentication and authorization best practices.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ResearchResearching best approach/solutionsResearching best approach/solutionscomplexity: largep-feature: User PermissionsFeature includes how user access levels / user permissions will be implemented in the productFeature includes how user access levels / user permissions will be implemented in the productrole: Back Endrole: devopssize: 3ptCan be done in 13-18 hoursCan be done in 13-18 hours
Type
Projects
Status
In progress