User tests: Successful: Unsuccessful:
Pull Request for Issue #18027
The issue was introduced by PR #17383 , that PR modified option->level to be option->level - 1
but option->level is later compared to zero to exclude checking ROOT category aka level 0 from ACL checks, thus all top level categories that had level 1 now have level 0 thus they are excluded from ACL checks
See issue #18027
For the publisher usergroup, open any top level category and deny "create"
Login as publisher and try to create new article
The top category should not be shown in category selector
The descendants category are correctly excuded (due to heritage), but the category itself is allowed to be selected
None
@mbabker , maybe v3.8.1 milestone,
this is easy to review, since it reverts the specific change that introduced the issue
(but also fixes the padding issue that PR #17383 was fixing in safer way)
Category | ⇒ | Administration com_categories |
Status | New | ⇒ | Pending |
Title |
|
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC after two successful tests.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-09-30 14:46:34 |
Closed_By | ⇒ | mbabker | |
Labels |
Added:
?
|
I have tested this item✅ successfully on b9871ba
Patch ok for me
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18131.