[support] Anonymous users access to some files and all nodes
Michelle Ziegmann
michelle at media.berkeley.edu
Tue Feb 15 22:23:57 UTC 2011
OK, then, assuming that access to the files are all or none on a given
node, you might be able to get away with creating just 1 view as a "Node
Content" display using the Views Attach module
(http://drupal.org/project/views_attach). You might have to create 2
"node content" displays within the view - one with access for anonymous
users only, one with access for authenticated users only, and set the
filters accordingly using whatever field/term you use to set file access
for the node.
Michelle
On 2/15/2011 2:07 PM, Luke wrote:
> On Tue, 15 Feb 2011, Ted wrote:
>
>> Don't miss Michelle's second recommendation here: create two file fields.
> The only problem with that, is the inability to change the status of a
> file later.
>
> A secondary problem is that there are already several file fields per node
> [potentially; the organization has just requested that new twist today],
> so I would have to duplicate each of them, and at that point it would be
> easier to just use two identical content types divided by access rights.
>
> I think I'm going to have to do this with several views.
> One for looking at an individual node, and others for various kinds of
> searching. Not sure what I'll have to do for editing nodes in that setup.
>
> Luke
>
--
Michelle Ziegmann
===========================
Electronic Communications Specialist
University of California Berkeley
Educational Technology Services
More information about the support
mailing list