- last update
over 1 year ago Patch Failed to Apply - ๐ฌ๐งUnited Kingdom catch
Still valid, sent the patch for a re-test since it looks like it'd still apply, we'll still need to update those tests if it's the same two test failures.
- Status changed to Needs review
about 1 year ago 4:19am 12 October 2023 - last update
about 1 year ago Custom Commands Failed - ๐ฎ๐ณIndia gauravvvv Delhi, India
I have attached a patch for 11.x. Patch #3, does not apply to 11.x so not adding interdiff.
- last update
about 1 year ago Custom Commands Failed - Status changed to Needs work
about 1 year ago 5:08pm 12 October 2023 - ๐ฌ๐งUnited Kingdom catch
+++ b/core/modules/user/src/UserAccessControlHandler.php +++ b/core/modules/user/src/UserAccessControlHandler.php @@ -56,7 +56,7 @@ protected function checkAccess(EntityInterface $entity, $operation, AccountInter @@ -56,7 +56,7 @@ protected function checkAccess(EntityInterface $entity, $operation, AccountInter } // Users can view own profiles at all times. elseif ($account->id() == $entity->id()) { - return AccessResult::allowed()->cachePerUser(); + return AccessResult::allowedIf($account->id() == $entity->id())->cachePerUser(); }
The code flow used to be a switch, but is now an if/elseif, so I don't think this will work the same way at all - it's the final else that needs the user cache content adding, and the condition added here will always be true.
- last update
about 1 year ago 30,392 pass, 1 fail - ๐ฎ๐ณIndia AditiVB
Aditi Saraf โ made their first commit to this issueโs fork.