I am getting a 403 error on following actions:
I have menu items which are different for logged in users and for guests. Joomlas ACL allow to show only the items for the appropriate group.
When a user starts browsing as guest then and clicks one of the guest menu items and logs in, then I am getting a 403 error, obviously because the redirect of the CB login tries to return the user to the latest link. But as the user has changed from a guest user to a registered user he is no longer allowed to that ressource.
Probably the same will happen when a logged in user is viewing a ressource for him and logs out......
I tried the Joomla redirect which did not solve the problem. As I am using the CB login module for login I would say it is kind of a CB issue as it is the CB part that is trying to return the user to the ressource last visited.
I will now try to solve it by using the autoactions plugin but I wonder if there is a solution without the need of this plugin?
Edit: Seems that this is a common Joomla problem. I have found a nice plugin in the extension directory which can easily redirect users as needed:
extensions.joomla.org/extensions/access-a-security/site-access/login-redirect/15257