By hujia on
is there any module that can grant/restrict access to specific portion of content?
I use the Drupal built-in search for content/node search, it works well except I want to limit certain content from being accessed and viewed by anonymous visitors. The "access content" permission under node module controls this access, and it appears to be all or nothing for search result. So is there any module that can grant or restrict access to specific content?
Thanks! Huji.
Comments
Hi! If you are using D5, take
Hi!
If you are using D5, take a look at cck_field_permissions and cck_field_privacy ... If you are using D6,cck_field_permissions already comes with cck, as "content_permissions" module ...
Regards,
Carlos.
I actually use the 6x cck
I actually use the 6x cck permission for controlling viewing and editing accesses. However, when search through the drupal in-built search function, I have to check the "access content" permission in order to have the search result shown to the anonymous user; but by checking that, all the content as nodes will be visible to an anonymous user; if I don't check that, none will show and pages will not be visible either.
So it appears that cck permission can control showing or hiding FIELDS of form, pages, etc, but it does not restrict viewing right for the drupal builtin search result. (I have an advanced custom search and all the cck permission work perfectly for it though). In other words, cck permission does not control the viewing privilege for the search result from the drupal internal search. Therefore, I am looking for a more trickle-down access permission to nodes/content (rather than just one checkbox for access content permission, as this is all or nothing for viewing the site content). Hope that makes sense? Huj.