YetiForceCompany / YetiForceCRM

Our team created for you one of the most innovative CRM systems that supports mainly business processes and allows for customization according to your needs. Be ahead of your competition and implement YetiForce!
https://yetiforce.com
Other
1.68k stars 727 forks source link

how to return my old default menu? #11649

Closed snenko closed 4 years ago

snenko commented 4 years ago

I accidentally deleted items from the default menu.

image

I put content from a fresh installation yetiforce into the file user_privileges/menu_0.php. It's helpful for small time. But next, my deleted default menu it's going back.

What do I need to do?

acsinsurancegroup commented 4 years ago

@snenko Simply re-upload the user_privileges/menu_0.php file from the original download of the CRM and overwrite the file on the server. That's it.

snenko commented 4 years ago

I replace the menu_0.php file with the one from github.

It helped to give access to users, but the menu editing problem is still there.

I found table yetiforce_menu. This table saves information about menus for users.

I am going to replace rows from clean Yetiforce.

I think the default menu should not be editable.

snenko commented 4 years ago

I remove all records from the table: TRUNCATE TABLE yetiforce_menu;

Then import default menu's data from install/install_schema/data.sql.

The problem is resolved.