Greetings,

I've got a question about what sort of permissions are possible with WebFM.

I have a role that I want to give access to certain files using inline links within nodes (e.g., <a href="/webfm_send/[fid]">link to file</a>) and not using attachments.

The only way I have found that allows users in this role access to these files via webfm_send links is to grant the permission for "access webfm".

Now, my only issue with doing that, is that I don't want this role to have any access to the File Manager screen itself (the one at http://www.example.com/webfm). I only want users in that role to be able to download those files. Also, they are not public files; they need to be restricted from anonymous users.

Is there permissions combination that can do do this?

My workaround right now is to use the Path Access module to block the role from the /webfm path.

Thanks,
Tommy

Comments

nhck’s picture

Status: Active » Fixed

Thommy,

every user can access webfm_send paths unless you restrict the access rights to that specific file differently (right click).

Users will not be able to use webfms filemanager if you don't allow "access webfm" through drupals-permissions-page.

So to sums things up: There is no connection between drupals role system and the file itself. With your workaround you might be able to the webfm_send path to specific roles not making it available to the public.

Hope this helps, otherwise repopen.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.