You are not permitted to use that link to directly access that page

When developing my custom component I get this error. I have a link on a list in the backend that looks like this;

JoomlaSite/administrator/index.php?option=com_mycomponent&view=myview&layout=edit&id=x

 

How do I change this link to not result in this error?

Category: Development 2 years ago
Omni
Asked 2 years ago
Omni

The Joomla error: "You are not permitted to use that link to directly access that page" is caused by a direct link to a task. Which is not permitted.

Change your link to: JoomlaSite/administrator/index.php?option=com_mycomponent&task=myview.edit&id=x

Omni
Answered 2 years ago
Omni

Please register/login to answer this question.  Click here to login
Cron Job Starts