User tests: Successful: Unsuccessful:
issue: #15824
You should be automatically logged in and land on open protected page.
You are redirected to frontpage with message:
Error: You are not authorised to view this resource.
If your homepage requires access then you end up on 403 page.
What happens is that the language filter plugin builds the menu with access levels before the remember plugin had a chance to login the user. The menu is built with access levels of the guest user and updates only on refresh. So, on first visit, after the session expires, the menu thinks it's a guest and denies the access.
The quick fix is to re-build the menu after the remember plugin has logged in the user.
Here is the Gist, line 66: https://gist.github.com/sakicnet/f2b8e2486011093d08e544423d8e5124
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries Front End Plugins |
Labels |
Added:
?
|
I have tested this item
You just have to remove one of the articles you created for your menu
I have tested this item
After cookie expiration user is now being asked to log in (instead of 403 error) - works.
Status | Pending | ⇒ | Ready to Commit |
Ready to Commit after two successful tests.
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-07-24 09:30:18 |
Closed_By | ⇒ | roland-d | |
Labels |
Added:
?
|
@sakicnet Could you please fix the conflict so I can get this tested over the next 2 days? Thank you.