Log in to the backend.
For articles and contacts: In a category of Content or Contacts, create an item with a restricted view level (Administrator, editor, not user). Or change an existing one.
For tags: Change the view level for an Article with a particular chosen tag. Create and publish Tags - Popular module, if not published yet.
Log in to the frontend as a user.
For articles and contacts: List the categories of the articles or contacts and observe the number of items.
For tags: Observe the similar in the module for Tags - Popular.
For articles and contacts: In that particular Category or for that particular tag, the number of the items shall be restricted only to the items, which the user can see -- the access level of the user allows that.
For articles and contacts: When opening the Category, the number is at least one item less -- the item for which the view rights has been previously changed.
For tags: The count of items displayed next to the tag differs from the number of items under that tags -- after opening the tag.
Joomla 3.9.2
Status | New | ⇒ | Information Required |
@HLeithner can you please comment?
this is for J3.
I've not looked into this yet. I'm in the process of rewriting tagging in 4.0, but did not get to that part yet. But in general the bug description looks correct.
Status | Information Required | ⇒ | Discussion |
Labels |
Added:
J3 Issue
|
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-07-08 08:05:23 |
Closed_By | ⇒ | franz-wohlkoenig |
I have analyzed the helper file and find out that tags are filtered according the view access level:
joomla-cms/modules/mod_tags_popular/helper.php
Line 51 in 1b01db5
but the articles with these tags are not filtered:
joomla-cms/modules/mod_tags_popular/helper.php
Line 118 in 1b01db5
adding
->where('a.access IN (' . $groups . ')');
to line 120 does not make any change.
Solving the
else
case is up to my knowledge.