We're working with community non-profits who have a Host Home or empty bedrooms initiative to develop a workflow management tool to make the process scalable (across all providers), reduce institutional bias, and effectively capture data.
We are implementing FastAPI: #788. Once the basic implementation is complete we will have clarity on how to implement RBAC.
#
Parent Issue #774
Overview
This issue focuses on managing and refactoring Role-Based Access Control (RBAC) within the application code using Python. The aim is to simplify the RBAC logic, improve code readability, and create comprehensive documentation that supports junior developers in contributing to the codebase.
Action Items
Review and Refactor Existing RBAC Logic
[x] Analyze the current RBAC implementation in the Python codebase.
[x] Refactor the code to improve readability, maintainability, and clarity.
Enhance Code Documentation
[ ] Add comprehensive comments and explanations within the Python code to make the RBAC logic easier to understand.
[ ] Ensure that the documentation is beginner-friendly and accessible to junior developers.
Testing and Validation
[ ] Validate that the refactored RBAC logic functions correctly and integrates smoothly with other parts of the application.
[ ] Conduct unit tests to cover various roles and permissions scenarios.
**Integration with Terraform
[ ] Ensure that the Python-based RBAC logic is consistent with any Terraform-based configurations.
[ ] Document how the application-level RBAC integrates with the infrastructure-level RBAC, if relevant.
Resources/Instructions
A well-documented and refactored Python-based RBAC system that is easy for junior developers to navigate and contribute to, ensuring consistency with any Terraform configurations.
Dependency
We are implementing FastAPI: #788. Once the basic implementation is complete we will have clarity on how to implement RBAC. #
Parent Issue #774
Overview
This issue focuses on managing and refactoring Role-Based Access Control (RBAC) within the application code using Python. The aim is to simplify the RBAC logic, improve code readability, and create comprehensive documentation that supports junior developers in contributing to the codebase.
Action Items
Review and Refactor Existing RBAC Logic
Enhance Code Documentation
Testing and Validation
**Integration with Terraform
Resources/Instructions
A well-documented and refactored Python-based RBAC system that is easy for junior developers to navigate and contribute to, ensuring consistency with any Terraform configurations.