Answer the question
In order to leave comments, you need to log in
How to properly specify the Bouncer tables to use?
Tell me where it is correct to register so that Bouncer uses other table names for work.
Now I have them registered in the constructor of each controller. But I believe that this is not correct.
Bouncer::tables([
'abilities' => 'new_nameTable1',
'permissions' => 'new_nameTable2',
'roles' => 'new_nameTable3',
'assigned_roles' => 'new_nameTable4',
]);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question