« Multiple GMap sizes in Views | Main | Limnology course data »

June 22, 2010

Drupal permissions

Motivation:

Need the ability to restrict access to specific (data) files based upon the user role but allow access to the metadata. The file and metadata are part of the same content type.

Ideally, when a file is uploaded the user would select which users can access the data.

Options:
Node Access will allow to a node based upon user role. Sledgehammer instead of scalpel as it blocks access to entire node and not just the filefield.

Content Permissions - "set field level permissions for CCK field." After enabling the module go to admin/user/permissions to set view and edit features for fields.

A recommended solution with .htaccess. Specific to directory though meaning would need separate directory for data sets not to be release.

A really great discussion on different methods.

Content Access module

Access Control List

Posted by kkwaiser at June 22, 2010 10:55 AM

Comments

Login to leave a comment. Create a new account.