Operations Menu

I’m having a bit of trouble with the operations menu for my AR models. I have some actions, such as Delete, Manage and Create disabled (at this point I only want to let users modify the entries by updating them) however these entries are still showing up in the operations menu.

They can’t be accessed - if the user clicks on them, they get redirected to an error page, however I’m wondering why they’re still showing up if they’re not accessible.

check your view file… somewhere on the top you have $this->menu with all the options… just remove those you don’t want or put them in if(…)

like

if(admin)

can delte, create, manage

else

can only update

Thanks, I’ll take look.