Articles -> Properties: "Link not authorized" = "No".
In the default menu item (articles in evidence of all categories): "Link not authorized" = "Use article settings".
Article Options: "Link not authorized" = "No" and "Access" = "Super users"
The article is visible in Home Page only to "super users"
The article is visible in Home Page to everyone (Public)
PHP attivo su | Linux web-lnx23.ergonet.host 3.10.0-327.36.3.el7.x86_64 #1 SMP Mon Oct 24 16:09:20 UTC 2016 x86_64
Versione database | 5.5.5-10.1.18-MariaDB
Collation database | utf8_general_ci
Collation connessione database | utf8mb4_general_ci
Versione PHP | 7.0.8
Web Server | Apache
WebServer interfaccia PHP | cgi-fcgi
Versione di Joomla! | Joomla! 3.8.5 Stable [ Amani ] 6-February-2018 15:00 GMT
Versione piattaforma Joomla! | Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
The behavior returns to "normal" if the "Link unauthorized" setting of the pre-defined menu item is set to "No".
Alreadyproblem already known and solved in the past (#18413).
Labels |
Added:
?
|
Category | ⇒ | ACL com_content |
Status | New | ⇒ | Discussion |
Status | Discussion | ⇒ | Information Required |
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-03-11 19:44:46 |
Closed_By | ⇒ | jwaisner |
The issue was not fixed even for that case
The PR #18417 that was supposed to fix it, was wrong, just appears to work
You see $params already includes
Moreover that PR was wrong for 2 reasons
Propably this is a correct interpretation of the menu having 'Use article setting' for 'Show unauthorized links'
then it can then be combined with article's access level to set
$item->params->set('access-view', ...);
and then layout will decide
Looking at this more, the per article parameter 'access-view' is already set properly,
thus