I do have 4 differents modules(module1, 2, 3 ,4) all created in the module constructor, and i do have 3 users (admin, user1, user2), I want that user1 only have access to the first 2 modules (module1 and 2), and the other user (user2) to the last 2 modules (module3 and 4), I’m doing that in admin->users->advanced->show/hide modules.
The problem is that i cant assign the last 2 modules (module 3 and 4), because they are not visible, i cant habilitate or deshabilitate because i cant see them.
Why is happening this?
I dont know if i explained correctly the problem, it is a weird problem
To manage this I would advise using Roles
Create a role for User 1
Set the permission to have access to module 1&2
Set the permission not to have access to module 3&4
Create a role for User 2
Set the permission to have access to module 3&4
Set the permission not to have access to module 1&2
Thx for answering!
I tried this, the problem is that i cant set permissions for module 3&4 in both users, because i cant see them, they are not visible, i can set permission for module 1&2 tho.
Just to check
When deploying the modules
- You did a quick repair & rebuild
- Repair relationships
- Repair Roles
This is a process we follow when building & deploying new modules
Now it works, i feel like and idiot I did every repair but the most important (repair roles).
Thanks so much my friend
Some times our brain skips the easy parts.