User tests: Successful: Unsuccessful:
Pull Request for Issue #40151.
This PR modifies the code uses in Category form field to by pass access level check for users with core.admin
permission, similar as how we are doing for other field type like https://github.com/joomla/joomla-cms/blob/4.3-dev/administrator/components/com_categories/src/Field/CategoryeditField.php#L214
You do not see the category you created above in the categories dropdown. You should see it, as a super user, you should see all categories in the dropdown (same as the categories dropdown when you add new article).
You see the category which you created above in the categories filter dropdown, not depend on the access level you set for the category.
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Category | ⇒ | Libraries |
Status | New | ⇒ | Pending |
@boddunan Could you please go to https://issues.joomla.org/tracker/joomla-cms/40193 and report your test result there ?
I have tested this item
1. Created new child user group under registered user group
2. Created new access level that allow child user group
3. Created a custom component with category support
4. Created new category with child access level
5. Created new category menu item for the child category
Can see child category with child access level in the category form field.
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
PR-4.3-dev
|
RTC
Labels |
Added:
?
bug
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-05-05 00:28:40 |
Closed_By | ⇒ | obuisard |
Thank you Tuan @joomdonation for the PR!
@joomdonation Tested this change and it is working fine. The category form field now shows all categories.