not permitted to use that link to directly access

78 views
Skip to first unread message

inf4we...@gmail.com

unread,
Jan 20, 2022, 4:05:26 AM1/20/22
to Joomla! General Development

I want to put a link in an extension to the users component page like that:
[code]/administrator/index.php?option=com_users&view=user&layout=edit&id=33314[/code]

But that leads to page:
[code]/administrator/index.php?option=com_users&view=users[/code]
with message
[quote]You are not permitted to use that link to directly access that page (#33314).[/quote]

Any solution apreciated

Viper

unread,
Jan 21, 2022, 2:54:56 AM1/21/22
to Joomla! General Development
You cannot access users edit page directly due to security reason.

Hannes Papenberg

unread,
Jan 21, 2022, 8:00:27 AM1/21/22
to Joomla! General Development
The right url would be index.php?option=com_users&task=user.edit&id=42

--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/joomla-dev-general/f499bd30-ffaf-4dd0-8957-7973da8c7e60n%40googlegroups.com.

Roger Creagh

unread,
Feb 4, 2022, 10:47:20 AM2/4/22
to joomla-de...@googlegroups.com
Sorry for late reply but in case you've not found this you need to use the format of the links on the users list page ie:

 /administrator/index.php?option=com_users&task=user.edit&id=739

That'll force it to go via the relevant controller and task

Roger
Any solution apreciated --
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages