NodeRevisionAccessCheck is still using user_access(), let's replace this with $account->hasPermission(). This is really easy as we already get the account passed into access checks now anyway.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Status: Needs review » Needs work

The last submitted patch, d8.NodeRevisionAccessCheck-hasPermission.patch, failed testing.

damiankloip’s picture

FileSize
1.4 KB

Sorry.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

I don't see any kind of problem with this patch. Perfect!

Xano’s picture

2: 2129809-1.patch queued for re-testing.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

Status: Fixed » Closed (fixed)

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