matomoravcik
matomoravcik
I have same problem, my example: we ave application where one user can be assigned to several companies, and user can have different roles in different companies. For example I...
Hi @lsteamgeo, i did this by overloading some entrust classes / traits: EntrustRole EntrustRoleInterface EntrustRoleTrait EntrustUserTrait basically you need to change function like can, ability, attachRole an so. Everything is...
Sorry @lsteamgeo i can't send you those files - it's commercial project of company where i work but i can help you little bit: ```php public function attachRole($role, $companyId =...