Prestashop Admin Controller get Access Denied Error

Prestahop AdminController get Access Denied Error

Error: Access Denied
Prestashop How To
Access Denied error comes when you will create Controller manually inside Prestashop Controller Folder because you controller cannot assign with Access and Authorization Role Table.
If you want to view new controller data then put this function in your controller.
public function viewAccess($disable = false)
{
return true;
}
If you want to perform Create, Read, Update, Delete default operations defined by Prestashop
So You need to assigned the Controller in the prestashop database table's name "access" and in "authorization_role" is necessary .

Comments

Popular posts from this blog

Prestashop Pass Controller Variables To TPL

Prestashop Create Admin Controller inside Admin Folder

Prestashop PDF Download Error