views:

117

answers:

2

I am using the calendar module with its iCal support for Drupal 6. I have made my event type which appears on the iCal feed. However, I want to make the event content type private, so only authenticated users can read it. By doing this they will not show on the iCal feed. Is there any way that I could get the iCal feed to still show these events?

A: 

Hmmm... I would give the Node Access module a look. I use this module to restrict access to content based on content type. I have never tested whether this works in conjunction with the Calendar module but it is worth a shot.

http://drupal.org/project/nodeaccess

Thanks.

Nick

http://nickgs.com

direct
A: 

I agree with calebthorne that normally a feed is public; I can understand the need of making a feed public for a group of users, and not to the anonymous users.

If the feed is created by a view, then you can change the view, and restrict its access to the users you want.

As you can see in the screenshot, you can restrict the access to the users with a particular permission, or to the users with a specific role (authenticated user is one of them).

Views settings

kiamlaluno
To notice I changed the access setting for the display "feed", not the default display. That means I have overridden the default setting.
kiamlaluno