- Issue created by @yash.rode
- First commit to issue fork.
- 🇺🇸United States smustgrave
Should be a simple fix but will need test coverage.
Removing credit from sakthi_dev as there was no code to the commit.
- Open on Drupal.org →Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Not currently mergeable. - @smustgrave opened merge request.
- last update
over 1 year ago 30,393 pass - Status changed to Needs review
over 1 year ago 5:55pm 10 October 2023 - Status changed to Needs work
over 1 year ago 10:58pm 10 October 2023 - 🇦🇺Australia acbramley
Left a minor comment, but now that every operation has this
orIf
, it feels like we could optimise it a bit more before the match. However, would we need to check for all known operations? Or just allow everything if they have the administer permissions (like media, node)The only tricky part with BlockContent is all the cache dep dancing at the bottom.
- last update
over 1 year ago 30,394 pass - Status changed to Needs review
over 1 year ago 2:38pm 12 October 2023 - 🇺🇸United States smustgrave
Left a comment in the MR. I think the tests were incorrect and left behind from when the block library was under blocks and we didn't have separate permissions. I updated the test permissions to use the block_content permission instead. Also moved the check up as suggested by @acbramley in #7. The switch won't run if the accessResult comes back true.
- last update
over 1 year ago 30,397 pass - 🇦🇺Australia acbramley
Adding related issue, these 2 will touch the same code.
- Status changed to RTBC
over 1 year ago 10:16pm 26 October 2023 - last update
over 1 year ago 30,438 pass - last update
over 1 year ago 30,464 pass -
larowlan →
committed 63cdabd2 on 10.2.x
Issue #3366719 by smustgrave, acbramley, yash.rode: Allow reverting...
-
larowlan →
committed 63cdabd2 on 10.2.x
-
larowlan →
committed 9f4e89ed on 11.x
Issue #3366719 by smustgrave, acbramley, yash.rode: Allow reverting...
-
larowlan →
committed 9f4e89ed on 11.x
- 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
Committed to 11.x and 10.2.x
Doesn't apply to 10.1.x, needs a reroll
- Status changed to Downport
over 1 year ago 9:48pm 29 October 2023 - 🇦🇺Australia acbramley
This is not a straightforward backport, 10.1.x didn't get the backport of 🐛 Revert and Delete actions should not be available for the current revision Fixed which means tests fail here because admin permission is bypassing the $forbidIfNotDefaultAndLatest check.
Not sure on the best way to handle that without diverging the branches too much.
- Status changed to Needs work
over 1 year ago 11:12pm 29 October 2023 - Status changed to RTBC
about 1 year ago 4:37pm 6 November 2023 - last update
about 1 year ago 29,625 pass, 1 fail - Status changed to Needs work
about 1 year ago 10:36pm 7 November 2023 - Status changed to Fixed
about 1 year ago 10:00pm 19 November 2023 - 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
At this point, let's make this 10.2.x only.
Automatically closed - issue fixed for 2 weeks with no activity.