# Project: Migrate EHR to Laravel - User & Roles Module

**URL:** <https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851>\
**Category:** EHR\
**Tags:** ehr, gsoc2023-project, gsoc2023\
**Created:** [May 5, 2023, 10:35pm UTC](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851 "2023-05-05T22:35:29Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![chaitak-gorai](https://forums.librehealth.io/letter_avatar_proxy/v4/letter/c/e47774/32.png) [@chaitak-gorai](https://forums.librehealth.io/u/chaitak-gorai)\
**Post date:** [June 24, 2023, 7:46pm UTC](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851/21 "2023-06-24T19:46:04Z")

</div>

[https://blogbook.tech/gsoc-week-4-experience-migrating-ehr-to-laravel-user-module-roles-module](https://blogbook.tech/gsoc-week-4-experience-migrating-ehr-to-laravel-user-module-roles-module)

---

<div class="post-metadata">

**Author:** ![muarachmann](https://forums.librehealth.io/user_avatar/forums.librehealth.io/muarachmann/32/2291_2.png) [@muarachmann](https://forums.librehealth.io/u/muarachmann)\
**Post date:** [June 24, 2023, 8:05pm UTC](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851/22 "2023-06-24T20:05:06Z")

</div>

I am getting too many redirects when attempting to login

---

<div class="post-metadata">

**Author:** ![chaitak-gorai](https://forums.librehealth.io/letter_avatar_proxy/v4/letter/c/e47774/32.png) [@chaitak-gorai](https://forums.librehealth.io/u/chaitak-gorai)\
**Post date:** [June 25, 2023, 11:00am UTC](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851/23 "2023-06-25T11:00:25Z")

</div>

Hey, @muarachmann this occurs because of the new roles seeder. I tried assigning the new roles with the dummy users but it didn’t work ie the old roles should be there. I am facing issue with it, I looked for roles usage in different parts of the codebase but can’t find any. Can you help me with this?. . Temporarily, I have kept both old roles and new roles locally.

---

<div class="post-metadata">

**Author:** ![muarachmann](https://forums.librehealth.io/user_avatar/forums.librehealth.io/muarachmann/32/2291_2.png) [@muarachmann](https://forums.librehealth.io/u/muarachmann)\
**Post date:** [June 26, 2023, 11:27am UTC](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851/24 "2023-06-26T11:27:20Z")

</div>

Hi there @chaitak-gorai you will have to change the roles of the default users to fit into the newly seeded roles. I previously used `super_admin` and `admin`. Please use `super_admin` for the Super admin role.

Then you equally will have to change all middleware routes having `admin` or `super_admin` from the routes to controllers if any. Try clearing your cookies and it should work.

Regards, MR

---

<div class="post-metadata">

**Author:** ![chaitak-gorai](https://forums.librehealth.io/letter_avatar_proxy/v4/letter/c/e47774/32.png) [@chaitak-gorai](https://forums.librehealth.io/u/chaitak-gorai)\
**Post date:** [June 27, 2023, 2:35pm UTC](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851/25 "2023-06-27T14:35:53Z")

</div>

Thank you much. I have solved this bug. Now working fine.

For further discussion on the updates and implementation can we have a call?

---

<div class="post-metadata">

**Author:** ![muarachmann](https://forums.librehealth.io/user_avatar/forums.librehealth.io/muarachmann/32/2291_2.png) [@muarachmann](https://forums.librehealth.io/u/muarachmann)\
**Post date:** [June 27, 2023, 5:47pm UTC](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851/26 "2023-06-27T17:47:18Z")

</div>

Tomorrow I will be available 1PM - 3PM GMT

---

<div class="post-metadata">

**Author:** ![chaitak-gorai](https://forums.librehealth.io/letter_avatar_proxy/v4/letter/c/e47774/32.png) [@chaitak-gorai](https://forums.librehealth.io/u/chaitak-gorai)\
**Post date:** [June 28, 2023, 8:19am UTC](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851/27 "2023-06-28T08:19:51Z")

</div>

Can we have a call from 2:30PM to 3:00PM?

---

<div class="post-metadata">

**Author:** ![chaitak-gorai](https://forums.librehealth.io/letter_avatar_proxy/v4/letter/c/e47774/32.png) [@chaitak-gorai](https://forums.librehealth.io/u/chaitak-gorai)\
**Post date:** [June 30, 2023, 6:14am UTC](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851/28 "2023-06-30T06:14:12Z")

</div>

Hey @muarachmann can we have a call at 1pm GMT today? Are you available?

---

<div class="post-metadata">

**Author:** ![muarachmann](https://forums.librehealth.io/user_avatar/forums.librehealth.io/muarachmann/32/2291_2.png) [@muarachmann](https://forums.librehealth.io/u/muarachmann)\
**Post date:** [June 30, 2023, 12:27pm UTC](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851/29 "2023-06-30T12:27:16Z")

</div>

Hello @chaitak-gorai unfortunately, I am not available. Let’s have this tomorrow same time.

---

<div class="post-metadata">

**Author:** ![chaitak-gorai](https://forums.librehealth.io/letter_avatar_proxy/v4/letter/c/e47774/32.png) [@chaitak-gorai](https://forums.librehealth.io/u/chaitak-gorai)\
**Post date:** [June 30, 2023, 2:52pm UTC](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851/30 "2023-06-30T14:52:54Z")

</div>

Ok then no problem .

---

<div class="post-metadata">

**Author:** ![chaitak-gorai](https://forums.librehealth.io/letter_avatar_proxy/v4/letter/c/e47774/32.png) [@chaitak-gorai](https://forums.librehealth.io/u/chaitak-gorai)\
**Post date:** [July 1, 2023, 11:53am UTC](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851/31 "2023-07-01T11:53:09Z")

</div>

@muarachmann meet link?

---

<div class="post-metadata">

**Author:** ![muarachmann](https://forums.librehealth.io/user_avatar/forums.librehealth.io/muarachmann/32/2291_2.png) [@muarachmann](https://forums.librehealth.io/u/muarachmann)\
**Post date:** [July 1, 2023, 11:54am UTC](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851/32 "2023-07-01T11:54:36Z")

</div>

> **[Google Meet: online webgesprekken en videovergaderingen | Google Workspace](https://meet.google.com/jkk-yief-cji)**
>
> Gebruik Google Meet voor beveiligde online videovergaderingen en videochats op het web, als onderdeel van Google Workspace.

@chaitak-gorai here you go.

---

<div class="post-metadata">

**Author:** ![chaitak-gorai](https://forums.librehealth.io/letter_avatar_proxy/v4/letter/c/e47774/32.png) [@chaitak-gorai](https://forums.librehealth.io/u/chaitak-gorai)\
**Post date:** [July 1, 2023, 6:16pm UTC](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851/33 "2023-07-01T18:16:13Z")

</div>

[https://blogbook.tech/gsoc-week-5-experience-migrating-ehr-to-laravel-user-module-roles-module](https://blogbook.tech/gsoc-week-5-experience-migrating-ehr-to-laravel-user-module-roles-module)

---

<div class="post-metadata">

**Author:** ![chaitak-gorai](https://forums.librehealth.io/letter_avatar_proxy/v4/letter/c/e47774/32.png) [@chaitak-gorai](https://forums.librehealth.io/u/chaitak-gorai)\
**Post date:** [July 8, 2023, 6:06pm UTC](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851/34 "2023-07-08T18:06:48Z")

</div>

[https://blogbook.tech/gsoc-week-6-experience-migrating-ehr-to-laravel-user-module-roles-module](https://blogbook.tech/gsoc-week-6-experience-migrating-ehr-to-laravel-user-module-roles-module)

---

<div class="post-metadata">

**Author:** ![chaitak-gorai](https://forums.librehealth.io/letter_avatar_proxy/v4/letter/c/e47774/32.png) [@chaitak-gorai](https://forums.librehealth.io/u/chaitak-gorai)\
**Post date:** [July 12, 2023, 12:13pm UTC](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851/35 "2023-07-12T12:13:26Z")

</div>

Hey @muarachmann link for the meet ?

---

<div class="post-metadata">

**Author:** ![muarachmann](https://forums.librehealth.io/user_avatar/forums.librehealth.io/muarachmann/32/2291_2.png) [@muarachmann](https://forums.librehealth.io/u/muarachmann)\
**Post date:** [July 12, 2023, 12:27pm UTC](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851/36 "2023-07-12T12:27:39Z")

</div>

@chaitak-gorai here you go - GSoC Discussion Wednesday, July 12 · 2:00 – 2:30pm Time zone: Africa/Lagos Google Meet joining info Video call link: [https://meet.google.com/jhh-zwxz-vuq](https://meet.google.com/jhh-zwxz-vuq) Or dial: ‪(ZA) +27 10 823 0877‬ PIN: ‪352 203 357‬# More phone numbers: [https://tel.meet/jhh-zwxz-vuq?pin=2403835606121](https://tel.meet/jhh-zwxz-vuq?pin=2403835606121)

---

<div class="post-metadata">

**Author:** ![muarachmann](https://forums.librehealth.io/user_avatar/forums.librehealth.io/muarachmann/32/2291_2.png) [@muarachmann](https://forums.librehealth.io/u/muarachmann)\
**Post date:** [July 12, 2023, 1:33pm UTC](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851/37 "2023-07-12T13:33:28Z")

</div>

Here is todays recording - [GSoC Discussion (2023-07-12 14:01 GMT+1) - Google Drive](https://drive.google.com/file/d/1_LDp9pegVXTHpWiD_k8HGQ9zLLSUh0eL/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![chaitak-gorai](https://forums.librehealth.io/letter_avatar_proxy/v4/letter/c/e47774/32.png) [@chaitak-gorai](https://forums.librehealth.io/u/chaitak-gorai)\
**Post date:** [July 15, 2023, 7:19pm UTC](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851/38 "2023-07-15T19:19:03Z")

</div>

[https://blogbook.tech/gsoc-week-7-experience-migrating-ehr-to-laravel-user-module-roles-module](https://blogbook.tech/gsoc-week-7-experience-migrating-ehr-to-laravel-user-module-roles-module)

---

<div class="post-metadata">

**Author:** ![muarachmann](https://forums.librehealth.io/user_avatar/forums.librehealth.io/muarachmann/32/2291_2.png) [@muarachmann](https://forums.librehealth.io/u/muarachmann)\
**Post date:** [July 19, 2023, 2:40am UTC](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851/39 "2023-07-19T02:40:01Z")

</div>

@chaitak-gorai what’s the progress here ?

---

<div class="post-metadata">

**Author:** ![chaitak-gorai](https://forums.librehealth.io/letter_avatar_proxy/v4/letter/c/e47774/32.png) [@chaitak-gorai](https://forums.librehealth.io/u/chaitak-gorai)\
**Post date:** [July 22, 2023, 7:36pm UTC](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851/40 "2023-07-22T19:36:37Z")

</div>

Hey @muarachmann I have sent the updates over GitHub PR. Once you are free please review and suggest changes if required Also here is my blog for this week [GSoC Week 8 Experience: Migrating EHR to Laravel - User Module & Roles Module](https://blogbook.tech/gsoc-week-8-experience-migrating-ehr-to-laravel-user-module-roles-module).

[Previous page](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851.md?page=1)

[Next page](https://forums.librehealth.io/t/project-migrate-ehr-to-laravel-user-roles-module/4851.md?page=3)
