2

I'm making a calendar iCal feed for a private group using Date iCal, Organic Groups and Views. The group events created are private, for that group only, causing a dilemma.

It all works great while I'm logged in and testing the feed via my web browser (where I'm logged in at). When I access the feed in another browser or calendar app, the feed is still valid and "intentionally left blank" due to great Drupal security built in...

How do I get around that? The ideal solution is to enable basic HTTP authentication and login that way via the calendar app. The calendar app offers an option for entering user/pass to access a link via basic authentication.

Otherwise, the site I'm working on won't contain very sensitive info and I'd be happy generating an obscure view path to share internally, and a view that somehow bypasses the OG roles (I know, that's evil!).

Any ideas on how to proceed? I appreciate any feedback in advance! :D

3
  • So far I've experimented with the Services, Services Views and Services Basic Authentication modules: all great components for accessing private data for specific users utilizing basic HTTP authentication. While I might be able to deliver data in various formats like JSON with new displays, I'm unable to deliver the rendered output from a pre-existing display (e.g. iCal feed from Date iCal view display). I'm still digging... Feb 12, 2015 at 22:15
  • I guess I could create a custom services module, powered by services module, that renders out the iCal view and delivers it. I'll look into it. Feb 13, 2015 at 14:54
  • I created a custom services module today that attempts to integrate Services Basic Authentication and acting as a middle man, loading the Date iCal view then delivering it. It works... but behaves the exact same way as my original inquiry (yuck). :( You can view the module code here. Any thoughts? Feb 13, 2015 at 23:48

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.