Detailed Description:
Error when deleting a record: Error! Access Denied. Please check your
permissions.
User-Group has the permisssion to "Manaage MyModule"!
I could fix the error on changing the action.delete.php in the generated module:
Original:
if (!$this->CheckAccess('Manage MC Factory')) {
return $this->DisplayErrorPage($id, $params, $returnid,
$this->Lang('accessdenied'));
}
Fix:
if (!$this->CheckAccess('Manage MyModule')) {
return $this->DisplayErrorPage($id, $params, $returnid,
$this->Lang('accessdenied'));
}
The CheckAcess() - Call ist not generated with the right Modulename.
Best Greetings, Pat