php - Can add new condition in role and right for access laravel zizaco package? -


i have 1 query regarding user have more 1 type of role on different condition wise.

just example: have 2 companies , have different type of role , rights both company. when user login, he/she can able see both companies. if want go company, check company role , rights using zizaco package have used in project.

could guide me regarding this. have idea regarding this: when user assign role , right, store in different table. when select company, delete existing role user_role , store new role , right company. can 1 or have suggestion ?

let me know concerns. awaiting prompt reply.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -