I am using the webfm block, it is in the right column when there is an attachment associated with the node. It has been quite useful, but I need to restrict access to some documents to authenticated users, while other documents remain available to anonymous users. I am not using the webfm ajax interface except for admin users uploading and managing the files. I have tried setting all files as accessible, and then changing the individual file permissions to "Role Access". I tried setting all files to restricted, then trying to make certain files available to all. The only thing I can manage is either the webfm block available on all pages for anonymous users of not available or not available at all to anonymous users. I have done this in the "Access Control" config settings. I have also set permissions in the webfm config panel. I can't seem to control either the block or the individual file permissions to restrict access to some, but not all documents.

I have also tried setting up a 'members' directory in the webfm file structure and making those documents available only to authenticated users, and a 'public' dir that is available to all.

I must be missing something as it doesn't make sense that the block provided by webfm would ignore the file permissions. I think I must not understand how to set up the various permissions properly. Looking for a bit of guidance.

I have admin users (only user with access the admin interface, add content, edit content, etc.) authenticated users (not content addition or editing, just access to all content), and
anonymous users (access to most content, exceptions: I have premium module installed and protect certain nodes and the documents associated with those nodes.)

All documents are managed with webFM.

the site is being developed here: http://02db79b.netsolhost.com/
and the documents that need to controlled access are
http://02db79b.netsolhost.com/?q=marketplace/publications/monday_reports
The block appears in right column with heading "Downloads"

thanks for any help.
max

Comments

robmilne’s picture

Status: Active » Closed (works as designed)

Files that are 'attached' to a node are viewable to all users who have access to that node. Simple as that. Read the source for more detail.

Finer grained control of presented files can be attained via webfm-send links that are programmatically controlled. Time permitting, I intend on providing a demo module that illustrates how this can be easily achieved.