If there is more than one access check on a route and one access check returns TRUE to grant access but the last one returns NULL for no opinion then access is denied, which is wrong.

Patch + test case coming up in a minute.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

klausi’s picture

Status: Active » Needs review
FileSize
4.87 KB
3.43 KB

Patches attached.

Status: Needs review » Needs work

The last submitted patch, routing-access-1896556-1.patch, failed testing.

klausi’s picture

Status: Needs work » Needs review
FileSize
691 bytes
5.55 KB

Aha, removed the stale _access setting on the REST routes.

Crell’s picture

Status: Needs review » Reviewed & tested by the community

Thanks, klausi.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

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