Open shankhadevpadam opened 7 years ago
I'm new with the entrust, but the "User ability" does not solve your problem? https://github.com/Zizaco/entrust#user-ability
Or you can create Roles, and create menus for each Role, this will shorten the loading time... I believe that you may have to see your problem differently, in relation to the structure of the entrust
I will be looking at this
@vagkaefer User ability - not what user need! Questions about multiple selects from database.
Any news on this?
My problem is, i have the main menu and the menu item is accessible when such permission is assign to respective role. So my question is when i used $user->can() to check the permission for every menu item which run same query every time
for example i have 5 menu item then this query run 5 times which take extra time to load the page.