GSoC Week 5 Experience: Migrating EHR to Laravel - User Module & Roles Module

GSoC Week 5 Experience: Migrating EHR to Laravel - User Module & Roles Module

Roles Module Completion

Jul 1, 2023ยท

2 min read


Welcome to the fifth week of my journey in the Google Summer of Code program. This week was a significant milestone for my project as I successfully completed the Roles module. In this blog post, I will share the updates and achievements from the past week, highlighting the completion of the Roles module, as well as my plans for the upcoming week.

Progress Made:

Finalizing the Roles Module:

With the Roles module nearing completion, this week was dedicated to refining its functionality and ensuring its alignment with project requirements. After carefully reviewing the feedback from my mentor, I implemented the following changes:

  • Input Field Uniformity: I made sure that the input fields within the Roles UI were consistent and followed a unified design. This improvement enhances the overall user experience and visual appeal of the module.

  • Custom Role Add Functionality: As per the mentor's suggestions, I added custom role creation functionality to the module. Users can now create roles that suit their specific needs, providing greater flexibility in managing user permissions.

  • Users Details for Each Role: To enhance role management, I incorporated a feature that displays detailed information about the users assigned to each role. This addition enables administrators to have a comprehensive overview of user-role relationships within the system.

  • Role Details Page: Another improvement I made based on mentor feedback was the implementation of a Role Details page. This page offers an in-depth view of each role, including its associated permissions, assigned users, and other relevant information. It enhances the transparency and ease of managing roles within the project.

Here is the updated UI:

Role Details Page:

Apart from these, I have also slightly updated the roles seeder which will now incorporate sub-module roles for important sub-modules like users, facilities, payments, etc.

Plans for Next Week:

With the Roles module now finalized, I will be shifting my focus to the next phase of the project. In the upcoming week, I plan to start implementing the Users module. This module will enable efficient management of user accounts within the project, further enhancing its functionality and usability.


The fifth week of my Google Summer of Code journey was dedicated to giving the Roles module its final touch. I incorporated the suggested changes, including input field uniformity, custom role add functionality, user details for each role, and a role details page. Collaboration with my mentor was pivotal in refining the module and ensuring its effectiveness. I'm excited to move forward with the Users module in the upcoming week. Stay tuned for more updates in the next blog post. Thank you for following my progress! ๐Ÿ’ซ