Jump to content
  • 0

Admin Rights Changed by mistake...


Question

Posted

Hi Guys..

I made a mistake right now.. In the Settings/System/Staffs/editgroup1/.. it was Admin account.. By mistake I changed to staff account from the list and now I don't have access to Settings..!! 

 

Pls someone help me to restore it back..

screenshot.png

1 answer to this question

Recommended Posts

  • 0
Posted

This query should do the trick:

UPDATE acl_acl INNER JOIN acl_aco ON acl_aco.id = acl_acl.aco_id SET acl_acl.permission = 'allow' WHERE acl_aco.alias = 'admin_system_staff' AND acl_acl.action = 'editgroup' AND acl_acl.aro_id = 1;

Then you can visit admin/settings/system/staff/editgroup/1/ to make sure all appropriate permissions are enabled.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...