I'm using Simple Access, which is working for other node types but when DiskNode is set to "Act as node" and the relevant roles are checked, all roles (including anonymous users) can see the DiskNodes.
If I convert the DiskNodes from "Act as Node" to "Page" or some such, then access control works as intended.
Brian.
Comments
Comment #1
Anonymous (not verified) commentedI'm not quite sure if this one is related, but the actual downloads seem not to be checked whether the user is allowed to see the file or not. I have the following setup:
Installed modules: OG, attached_node, disknode
Create a new disknode (right now, as BrianH pointed out, as a page or article – otherwise, the OG-audience-system will fail). Assign a non-public group to it. Try to access the node as anonymous user: You'll get "Access denied", as it should. Now embed this new node in a public node using attached_node. The new node will show up (which is attached_node's problem) and will display a link to download the file that works – which, IMHO, it shouldn't.
Comment #2
mooffie commentedI had a quick look at the source code. hook_access() handles $op=='view' and by thus short-circuits the rest of Drupal's Node Access mechanism. It should be easy to fix.
Whatever, "Act as node" is a thing of the past. This module should be cleaned asap. It's 2008 already.
Comment #3
mooffie commentedFixed.
Comment #4
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.