So, I am renting an application with several clients. In each case, users can access multiple clients with different roles. For example, user A has ROLE_XX for Client C1 , but ROLE_YY for Client C2 .
As far as I know, FosUserBundle stores roles for the user in the roles column (the default table is fos_user ), so this structure is not suitable for my needs.
I read the documentation done using role management , but there is nothing related, so I assume this function is beyond the scope of FosUserBundle ?.
So, I was thinking of creating an extra table that links them (client, user, role), but since I'm not a FOS expert at all, I really don't know if this is correct. Or maybe I missed something. Any feedback is appreciated!
source share