Gotta say - great module! Sorely needed, and is really helping me out, so thankyou for developing and sharing.
I am wondering if is possible to use per-user permissions rather than category permissions to control access to files? So a file could be uploaded by an admin and set to be viewable by one or more specific users. I could create a taxonomy of users, but would prefer a cleaner solution. Any ideas?
Comments
Comment #1
evilbilly commentedVery possible. There's actually functionality for this built into the Drupal core. There's a table called node_access which lets you specify overriding permissions for a given user (as long as the module hasn't already granted/denied access).
This mechanism also supports granting permissions based off basic group functionality, however if you're looking at overriding permissions based off groups that aren't defined in Drupal [ie: from LDAP or elsewhere in your organisation] you're going to have a lot more trouble unless you want to make changes to the Drupal core).
Have a look at the following section of the Drupal API:
http://api.drupal.org/api/4.7/function/node_access
Wishing you the best of luck!
Comment #2
BartVB commented