For the "Article Categories" quick icon on the dashboard the incorrect access checks are made. Right now the permission is checked against com_categories, which is not a valid asset in Joomla. As the icon links to the Article categories the correct permission check should be made against com_content. This PR implements this.
Testing Instructions
Create a new user group with "Public" as the parent user group. Allow actions "Administrator Login", "Access Administration Interface" and "Create" in the Global configuration.
Login with as test user assigned to this new user group only and confirm that "Articles" and "Article Categories" are visible in the control panel.
Now go to the component options of the article manager and set "Access Administration Interface" and "Create" to denied for the test user group.
Go back to the control panel with the test user and confirm that "Article Categories" is still visible, clicking on the icon will give an 403 You don't have permission to access this. error.
Apply patch.
Go back to the control panel with the test user and confirm that "Article Categories" is no longer visible.
Go to the component options of the article manager and set "Access Administration Interface" and "Create" to inherited (so allowed) for the test user group.
Go back to the control panel with the test user and confirm that "Articles" and "Article Categories" are both visible in the control panel.
This pull request has automatically rebased to 4.2-dev.