2

There are a ton of Access control modules. Choosing one is difficult. The current use case is that I have a single video content type. Some videos are public and some are private that are only accessible by role. I want to be able to set each node (public or private) and then ensure that they do not show in taxonomy term pages and views pages unless they are logged in. Which module is best for this use case? Note that the term and view pages will be the shared but I need private ones to automatically removed if they are not logged in. Which access control module will meet these needs?

4

BAM!

Taxonomy Access Control to the rescue.

Access control for user roles based on taxonomy categories (vocabulary, terms).

Automatically controls access to nodes (based on their taxonomy terms).

  • Configuration page for each user role.
  • Three node access permission types: View, Update, Delete.
  • Two term access types: View tag, Add tag.

Just create a term called something like "Members only" and add that term reference to your video content types.

  • Will this automatically remove private videos from term pages generated by core? Will it also automatically remove them from views pages? – Nigel Waters Oct 31 '12 at 16:45
  • 1
    If the user doesn't have permissions to view the node, then it should hide it from all content lists. That said, if query rewriting is on in the advanced setting for your view, then it will ignore access control. – Chapabu Oct 31 '12 at 16:48
  • yup that was the one. A confusing UI but worked like a hot damn. Thanks. – Nigel Waters Oct 31 '12 at 17:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.