Support from Acquia helps fund testing for Drupal Acquia logo

Comments

InternetDevels’s picture

Status: Active » Needs review
FileSize
460 bytes

Pretty simple one.

Status: Needs review » Needs work
Issue tags: -CodeSprintCIS

The last submitted patch, drupal-edit_replace_user_access-2061983.patch, failed testing.

InternetDevels’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work
Issue tags: +CodeSprintCIS

The last submitted patch, drupal-edit_replace_user_access-2061983.patch, failed testing.

andypost’s picture

Component: user system » edit.module
+++ b/core/modules/edit/edit.module
@@ -53,7 +53,7 @@ function edit_permission() {
+  if (!Drupal::request()->attributes->get('_account')->hasPermission('access in-place editing')) {

Use Drupal::currentUser() service https://drupal.org/node/2032447

Wim Leers’s picture

Issue tags: +php-novice
rhm5000’s picture

rhm5000’s picture

Status: Needs work » Needs review
Wim Leers’s picture

Status: Needs review » Reviewed & tested by the community

This has extensive test coverage, so if it comes back green, it's definitely good to go :) Thanks!

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed cd882b6 and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.