As mentioned in the post at #453346: Access checks and performance, complex node access checks kill the benefits of the module. However, basic role based authorization using user_access() still seems to be very performant and would be a great feature for this project.
Thanks,
Chris
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | js-1154300-1.patch | 1021 bytes | cpliakas |
Comments
Comment #1
cpliakas commentedThe attached patch adds an "access arguments" key, which if passed loads the user module and passes the arguments to user access. This allows for basic role based authorization without having to explicitly check for them in the JS callback.
~Chris
Comment #2
cpliakas commentedChanging title...
Comment #3
michielnugter commentedThis is implemented in the 7.x version already. The 6.x version is now only supported as a patch release. If someone ports the 7.x solution back to 6.x I'll be happy to include it in the release.
Comment #4
michielnugter commented