Hi guys,
case study: When we set a frontend Login Form and / or Registration Form menu item the most used / logic ACL Access setting is "Guest":
Now:
This is the worst User Experience and Users panic thinking they have done something wrong.
Solution:
A - just for the Login Form / Registration Form menu items, if I have no the ACL Access permission, I'm automatically redirected to the home page, Okay, but the ACL Danger Alert should never been shown
Do you agree ?
OR Better Solution
B - for them, when I have no the ACL Access permission, I will be redirected to:
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
Title |
|
Title |
|
Maybe you just don’t understand the purpose of the „Guest“ access level? While „Public“ includes also what registered, logged in users can see, „Guest“ doesn’t, and that’s how it shall be.
Something is not correct in your description. If I follow the description then I have no problem.
I am guessing that the instruction that is missing is that you have set the defaultt menu item as the login registration form?
Not public because of what? Is there something missing in this sentence?
Sorry, I corrected it in the original post
I am guessing that the instruction that is missing is that you have set the defaultt menu item as the login registration form?
I'm not sure I understood what you mean, but No.
With the Login module (on the bottom on the pages) setting "Module > Login Redirection Page: -Select Menu Item-" that should mean "Same Page".
I reformulate the original post to better explain what I mean and I added test pages links hooping this can help to understand me... I remain available
ok I understand you now. This will of course happen and it is working as designed.
You have login & registration menu items that are set to guest. Therefore registered and logged in users have no access to thos menu items.
You have set the module to stay on the same page after log in but you no longer have access to that page - hence the error message which is correct.
This is exactly why both the login module and the login component have options for where to go after successfully logging in.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-11-13 10:19:45 |
Closed_By | ⇒ | joomdonation |
As @brianteeman pointed out, it is working as expected (see his previous comment). So I'm closing this issue.
Hi guys,
Please, read carefully the use case I described in the first post.
I did not said that is not working as expected.
What I said is that in these 2 specific use cases (login form and registration form menu items pages), to show the standard ACL error Danger message and automatically redirect to the homepage is not the best thing for the User Experience.
Why ?
The Solution is super simple and just by using features concept that are yet added into Joomla:
A - Alert Message
just for the Login Form / Registration Form menu items, if I have no the ACL Access permission, I'm automatically redirected to the home page, as now (okay), but the ACL Danger Alert should never been shown ...just it.
OR to call a different language string within an Info / Message Alert.
B - Page Redirection
AND,, for a better solution, always for the Login Form / Registration Form menu items pages, when I have no the ACL Access permission, I will be redirected to:
Not public because of what? Is there something missing in this sentence?