Open Tazzios opened 5 years ago
i found a other problem in the related code: access rights are based on the category permissions instead of the article permissions.
I made a fork and tried somethings.(Disclaimer i`m not a programmer) https://github.com/gantry/gantry5/compare/develop...Tazzios:develop
Possible problems:
It looks like a rabit hole by default: https://github.com/joomla/joomla-cms/issues/21407
Now that I did read this issue again, I think that we should keep the query as it was, but instead of linking to the article, link to login form instead..? I find it surprising, though, that Joomla does not handle this internally.
Now that I did read this issue again, I think that we should keep the query as it was, but instead of linking to the article, link to login form instead..? I find it surprising, though, that Joomla does not handle this internally.
No that`s not the problem, that is working fine in my solution. The current problem is that the article isn't shown at all because gantry doesn't do anything with the 'Show Unauthorised Links' setting from the article(or global) it only looks at the access level.
The 'Joomla Articles' particle doesn`t follow the default Joomla behavior of the ‘Show Unauthorised Links’ setting from articles.
Reproduce add an article set 'Show Unauthorised Links' to yes And make a 'Joomla Articles' particle with corresponding article ID
Expected Guest, can see the article title and intro, when clicking on read more a logging pops up Registrated user, can see the article title and intro, when clicking on read more the can see the complete article
Result Guest, article is not visible. Registrated user, can see the article title and intro, when clicking on read more the can see the complete article