We are using Taxonomy Access for our CCK content so that we can designate which records are Public, Private or Both according to user role. We need to be able to allow a teasers in Views on the home page that show both Public and Private content to anoymous users. If I create a teaser field for CCK would this be possible? Or is there an argument I can use in Views 2 that would bypass permissions? This type of functionality is used quite often for news sites which offer premium content.

Thanks for help.

Comments

cspbm’s picture

Category: feature » bug

I changed this to a bug report. After reading the documentation more thoroughly from what I understand it should be appearing in Views. I made sure that I had the option for List selected for an unauthorized user. However the view with both Private and Public records does not appear at all for an unauthorized user. I have only one Vocabulary with one term being used. For unauthorized user I have View set to deny but List is selected and List is also select for the default as well.

xjm’s picture

Category: bug » feature
Priority: Critical » Normal
Status: Active » Closed (duplicate)

The "List" checkbox doesn't control whether nodes are listed in views; rather, it controls whether terms are listed on node pages. (This definitely confuses a lot of people so I am planning to improve the documentation.) Teaser access is tied to node access by core and outside the scope of TAC; see: #143308: New teaser access permission

However, your idea is one that I think a lot of people would find useful (to allow a user to see some fields of the node in views and other lists, but not in other nodes, based on TAC configurations). Here's my idea on a contrib module to add this functionality:
http://groups.drupal.org/node/28700

You might want to consider these modules:
http://drupal.org/project/content_levels
http://drupal.org/project/premium

Marking as duplicate of #339366: Restrict node except for teaser/file/specific field/title....

sammo’s picture