I noticed an issue when trying to combine this module with Node access user reference. Any clues as to how to avoid this or debug this would be greatly appreciated. Being able to use these modules together in Drupal 7 would be awesome. I'll follow up with any updates or patches as I sort this out.
Tested this on a clean install with these versions:
Drupal 7.10
Taxonomy Access Control 7.x-1.x-dev
Node access user reference 7.x-3.6
I have a "document" content type that needs to have access controls based on taxonomy (certain users can access documents tagged with certain taxonomy terms), which TACLite provides. Additionally, it needs to allow for granting individual users access to specific documents, which Node access user reference provides.
I can enable both of these modules and get them each to work while both are installed. But when I grant access with terms and user references at the same time, this messes the permissions up for all documents, including any newly added documents. Basically, when I remove the terms and user references selected on the node, the node is still visible to users who shouldn't see them. At this point all new nodes added are visible even though they are supposed to be restricted, which it should be the opposite (obviously).
Comments
Comment #1
danielb commented<-- maintainer of Naur
The modules should be able to work together.
Debugging tip: get the Devel module an enable the 2 "Devel Node Access" blocks to tell you what's going on.
If one or both of these modules are granting access to some user or users on a node, then access will be blocked for the other users for that node.
If neither module is granting anybody access to the nodes, then the default Drupal access will kick in and all users will be able to View the node.
Comment #2
squiggy commentedAh, you're right. Yeah, the default permissions were kicking in. I need to figure out how to block user access by default and only allow access when a term or user reference is selected. Thanks for your quick reply! :)
Comment #3
squiggy commented