User tests: Successful: Unsuccessful:
Pull Request for Issue #44056.
Fix Toolbar access check when the content is filtered by multiple categories.
Code review, for now.
The ContentHelper::getActions() expecting an ID
ContentHelper::getActions() recieving an array of IDs
ContentHelper::getActions() recieving single ID
Please select:
| Status | New | ⇒ | Pending |
| Category | ⇒ | Administration com_contact com_content |
| Labels |
Added:
bug
PR-4.4-dev
|
||
| Title |
|
||||||
| Title |
|
||||||
| Labels |
Added:
PR-5.2-dev
|
||
This pull request has been automatically rebased to 5.3-dev.
| Title |
|
||||||
This pull request has been automatically rebased to 5.4-dev.
| Title |
|
||||||
| Labels |
Added:
PR-5.4-dev
Removed: PR-4.4-dev PR-5.2-dev |
||
Can you please supply some testing instructions which explain/show how to see the access check failure. Without that I fear this PR will sit untested for another year
This is something that should be obvious for maintainers.
1-2 review from mainteiners should be good enough to merge this pr.
Setting up the test case for general testing will take more time than it deserves.
I think the following testing instructions would work:
@Fedik but the or condition will still be true and the button will be still shown.
Does it really make sense to check it here at all or am I missing something?
It would only be hidden if the user has no permissions at the core level and has only been explicitly granted permissions for specific categories. Is that what is intended? Than is works :)
This pull request has been automatically rebased to 5.2-dev.