The article preview is displayed -or- a login screen is presented (behavior for no longer published articles)
An error message appears (Error 404)
Joomla 4.3.2, PHP 8.1.15
If the "Finish Publishing Date" lies in the past ....
.... a login screen is shown:
Labels |
Added:
No Code Attached Yet
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-07-11 18:14:06 |
Closed_By | ⇒ | alikon |
I'm in doubt whether the logic here is adequate. IMHO the preview should be shown regardless of ACL and/or publishing dates.
Look at the use case: The user is in the backend and has sufficient rights to edit an article. He saves the article and now wants to see the result, because there might be some need for improvement. To be able to preview the article in the backend is a big enhancement over J3. So give him/her the preview regardless of other restrictions like missing user rights or not reached publishing date or expired publishing date! And without the need to login first to preview the article.