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.
I had a need to allow users of a certain role to edit boxes in a certain context. I didn't see a way to change the access check for boxes except perhaps by changing extending Spaces class. This may be what is required, but for the time being I created a patch.
Comment | File | Size | Author |
---|---|---|---|
#4 | boxes_access_alter-1128778-4-D6.patch | 543 bytes | pdrake |
#2 | boxes_access_alter-1128778-2-D6.patch | 687 bytes | pdrake |
#1 | 1128778-boxes-access-alter-1-D6.patch | 874 bytes | glennpratt |
Comments
Comment #1
glennpratt CreditAttribution: glennpratt commentedPatch attached.
Comment #2
pdrake CreditAttribution: pdrake commentedHere is this patch, re-rolled against the latest 6.x-1.x-dev.
Comment #3
glennpratt CreditAttribution: glennpratt commented@pdrake, the patch should be relative to the project directory. We've seen some awesome bugs from root relative patches... :)
git diff --relative
from the project.Comment #4
pdrake CreditAttribution: pdrake commentedYes, it should. Re-rolled and attached.