Closed (fixed)
Project:
File Access
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Oct 2011 at 15:04 UTC
Updated:
25 Apr 2013 at 08:32 UTC
Jump to comment: Most recent file
Comments
Comment #1
likewhoa commentedThis has my interest.
Comment #2
mattman commentedI will eventually have personal needs to update this module. I don't currently have the immediate time to do so. If anyone does write a d7 port I'll certainly be happy to look at it.
Comment #3
xanoI need a solution that uses hook_field_access() to perform file access control. This would make the module a lot more usable, because it can be used with any form of field access control.
If you agree, I can take over the module to maintain the D7 branch.
Comment #4
mattman commentedIt won't be until the later part of this year before I can find the time to work on this so I'll give you access.
Comment #5
xanoThank! Jut to clarify, my plan is to create a much smaller module than the D6 version, where the hook_file_download_access() implementation simply returns the value returned by the hook_field_access() implementations for the file's field.
Comment #6
farhadhf commentedAny update on this?
Comment #7
kaizerking commentedhere is D7
I wonder if some one can do it access per user like content access using ACL API module
Comment #8
giuvax commentedsubscribe
Comment #9
mattman commentedI've looked at the functionality of hook_field_access() as mentioned by Xano in #5 and I've determined that this is too high up in the chain of processing. The endpoint for this module is the file itself and I wanted the module to be able to determine if the file itself can be downloaded via hook_file_download.
In my personal use case, it's possible that a given file may end up on multiple nodes and I may want one node to allow access and another not. Above this can sit some form of field based control or node based view control.
While the module does have a field in the database for the node id, this is something I'm still working on. My personal needs are more towards role based access control.
With the initial work of the D7 port done, I can chip away at some of the smaller features.
Given this issue was opened in 2011 I'm certainly open to collaboration with anyone who shares this module's vision.
Comment #10
mattman commented