Jump to content

[SOLVED] Permissions deleted


Recommended Posts

Unless those permissions include a high enough level to switch you back to admin you may be SOL. That's done under the employee tab. The permissions selection will allow you to add and remove tabs and options, clicking on your name will allow you to change your permissions level. But unless you have rights to those pages you won't be able to change anything.

As far as I know, for security reasons the only way to "reset" is to reinstall using a new database prefix.

Link to comment
Share on other sites

You'll need to execute the following SQL query on your database using phpMyAdmin to restore access on the Employee tab and Permissions subtab:

UPDATE `ps_access` SET `view` = 1, `add` = 1, `edit` = 1, `delete` = 1 WHERE `id_profile` = 1 AND (`id_tab` = 29 OR `id_tab` = 31)



This code assumes you are using ps_ as your database prefix and that that it is employee profile 1 that you want to restore employee tab access to. This is probably right for you, but change them if necessary.

Link to comment
Share on other sites

×
×
  • Create New...