J4 Issue ? ?
avatar arbindbhagat
arbindbhagat
26 May 2019

When a not-logged-in user tries to access a content that is only for logged-in-users, that user is redirected to the login page.

We want to develop a plugin that does some important thing when this happens. However, on https://docs.joomla.org/Special:MyLanguage/Plugin/Events page, I don't see any event that would get triggered in this case of redirection-to-login-page.

Joomla must have an event that does this. Please consider to add this very basic-and-important feature.

avatar arbindbhagat arbindbhagat - open - 26 May 2019
avatar joomla-cms-bot joomla-cms-bot - labeled - 26 May 2019
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 26 May 2019

can you please give "System information (as much as possible)"

avatar franz-wohlkoenig franz-wohlkoenig - change - 26 May 2019
Status New Information Required
avatar arbindbhagat
arbindbhagat - comment - 26 May 2019

It is a feature that Joomla is missing. So, basically, it is a feature request. So, the system information won't help in this case.

avatar ReLater
ReLater - comment - 26 May 2019

When a not-logged-in user tries to access a content that is only for logged-in-users, that user is redirected to the login page.

When I try as a not-logged-in user to access a content that is only for logged-in-users I'm not redirected but see a message:

Error
You are not authorised to view this resource.

Please provide some more detailed testing instructions how to build your scenario.

If $app->redirect participates (i don't know) events onBeforeRespond and onAfterRespond are triggered.
#20677

avatar franz-wohlkoenig franz-wohlkoenig - change - 27 May 2019
Labels Added: J4 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 27 May 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 27 May 2019
Title
Important Plugin/Event missing
[4.0] Important Plugin/Event missing
avatar franz-wohlkoenig franz-wohlkoenig - edited - 27 May 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 27 May 2019
Labels Added: ?
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 27 May 2019
avatar alikon alikon - change - 3 Feb 2020
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2020-02-03 19:20:07
Closed_By alikon
avatar alikon
alikon - comment - 3 Feb 2020

Closing this due to not receiving required information to determine if this is a bug or not. If you feel this still needs review, please open a new tracker entry with as much information as possible to ensure it can be reviewed properly

avatar alikon alikon - close - 3 Feb 2020

Add a Comment

Login with GitHub to post a comment