Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#3 | routing-access-1896556-3.patch | 5.55 KB | klausi |
#3 | routing-access-1896556-3-interdiff.txt | 691 bytes | klausi |
#1 | routing-access-1-testonly.patch | 3.43 KB | klausi |
#1 | routing-access-1896556-1.patch | 4.87 KB | klausi |
Comments
Comment #1
klausiPatches attached.
Comment #3
klausiAha, removed the stale _access setting on the REST routes.
Comment #4
Crell CreditAttribution: Crell commentedThanks, klausi.
Comment #5
webchickCommitted and pushed to 8.x. Thanks!