User tests: Successful: Unsuccessful:
Ignore records created by blocked users.
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Arbitrarily not loading categories from the tree because a user account is blocked seems wrong.
Мore precisely, do not count records (in category) from blocked users*
This change is probably more related to the public part of the site. For example, a category module.
or at least quite debatable, imho, can you describe a real use case scenario for this ?
or at least quite debatable, imho, can you describe a real use case scenario for this ?
Any Counter of materials of a category, whether it is a module of a category or something else - a custom code (extends Joomla\CMS\Categories\Categories)
Then implement the logic in your subclass instead of arbitrarily changing the entirety of core. This really comes across as a total edge case that should be dealt with in that specific implementation.
Imagine if menu items or articles or modules started disappearing because you blocked the user account that "owns" the item.
Thanks @saharin88 for your PR but I see this as michael, it's an edge case. You can solve this by setting a special viewlevel if a user is blocked per batch processing for articles.
I'm closing this.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-10-22 13:27:20 |
Closed_By | ⇒ | HLeithner | |
Labels |
Added:
?
|
Thanks @saharin88 for your PR but I see this as michael, it's an edge case. You can solve this by setting a special viewlevel if a user is blocked per batch processing for articles.
I'm closing this.
Ок
Arbitrarily not loading categories from the tree because a user account is blocked seems wrong.