Reputation: 890
I have install extension "newsletter" and "simple blog" on opencart
2.3.0.2 add permission in user/user_group then also. when i try to enable the status it will display "Permission Denied!" message and
doesn't allow me to display this module. But same module working fine one previous opencart 2.2.X and one get same problem and got solution?
if this is due to compatibility problem where i can change the permission in code of module.
is any one know.
Upvotes: 2
Views: 8209
Reputation: 92
Forget adjusting tables You don't need to change anything in your database to fix this issue
Here is an example from an older version controller: Code: Select all
$this->redirect($this->url->link('extension/module', 'token=' . $this->session->data['token'], 'SSL'));
It should now be written as: Code: Select all
$this->redirect($this->url->link('extension/extension', 'token=' . $this->session->data['token'], 'SSL'));
So if you have an old module check your controller i.e. admin/controller/module/yourmodule.php then find 'extension/module' replace 'extension/extension'
Upvotes: 0
Reputation: 3
Most likely the module installation does not allow you to set user group rights. You can do this manually.
Upvotes: 0
Reputation: 103
Go to Settings>Users>User Groups than choose which user group your admin belongs to. You will see "Access Permissions" and "Modify Permissions". Click the "check all" link for both permission group, than save. You are good to go :)
Upvotes: 1