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.

Comments

klausi’s picture

Status: Active » Needs review
StatusFileSize
new4.87 KB
new3.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
StatusFileSize
new691 bytes
new5.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.