Currently biblio_access grants explicit view access to all users who are not explicitly forbidden to access it. This makes it impossible for node access modules to control access to biblio entries. I propose that access to biblio nodes should be handled in the same way as access to other nodes (see http://api.drupal.org/api/function/node_content_access/5) so that if there is no overriding reason to grant or deny access biblio_access should return NULL so that the node_grants mechanism can kick in.
The patch attached is for the DRUPAL-5 branch.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | biblio.module.patch | 1.26 KB | gustav |
| biblio.module.patch | 1.61 KB | gustav |
Comments
Comment #1
gustav commentedSorry, the previous patch contained some spurious code. The newly attached patch is clean.
Comment #2
rjerome commentedFair enough, the change has been made.
Ron.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.