<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #321: Delegate authentication to Drupal</title>
    <link>http://localhost/ticket/321</link>
    <description>&lt;p&gt;
When CKAN is included in a Drupal front-end, CKAN edit pages are used in a slave-mode, such that authentication is delegated to the Drupal front-end user model.
&lt;/p&gt;
&lt;p&gt;
The Drupal front-end shall have:
&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Login page - fixed location, can authenticate users, on successful  authentication sets auth cookie and redirects to HTTP_REFERER.
&lt;/li&gt;&lt;/ol&gt;&lt;ol start="2"&gt;&lt;li&gt;Access control resource - fixed location, can authorise users, on receipt of valid auth cookie return message listing account details and permitted actions.
&lt;/li&gt;&lt;/ol&gt;&lt;ol start="3"&gt;&lt;li&gt;Access denied page - fixed location, static resource, gently
&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;
indicates what has happened, and how to ask for permission.
&lt;/p&gt;
&lt;p&gt;
The CKAN slave edit page shall:
&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Try to detect a Drupal session key (passed as cookie or as request param).
&lt;/li&gt;&lt;/ol&gt;&lt;ol start="2"&gt;&lt;li&gt;Redirect to Drupal login page if no session key.
&lt;/li&gt;&lt;/ol&gt;&lt;ol start="3"&gt;&lt;li&gt;Check authorisation if session key is found.
&lt;/li&gt;&lt;/ol&gt;&lt;ol start="4"&gt;&lt;li&gt;Redirect to access denied page if session key not authorised.
&lt;/li&gt;&lt;/ol&gt;&lt;ol start="5"&gt;&lt;li&gt;Present the Package edit page.
&lt;/li&gt;&lt;/ol&gt;&lt;ol start="6"&gt;&lt;li&gt;Reject unauthenticated or unauthorised edit submissions.
&lt;/li&gt;&lt;/ol&gt;&lt;ol start="7"&gt;&lt;li&gt;Snag invalid edit submissions from authenticated and authorised users.
&lt;/li&gt;&lt;/ol&gt;&lt;ol start="8"&gt;&lt;li&gt;Respond to valid edit submissions from authenticated and authorised users, by saving the new package state, and redirecting to Package read page in Drupal front-end.
&lt;/li&gt;&lt;/ol&gt;</description>
    <language>en-us</language>
    <image>
      <title>CKAN</title>
      <url>http://assets.okfn.org/p/ckan/img/ckan_logo_shortname.png</url>
      <link>http://localhost/ticket/321</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>johnbywater</dc:creator>

      <pubDate>Mon, 24 May 2010 12:54:19 GMT</pubDate>
      <title>description changed</title>
      <link>http://localhost/ticket/321#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/321#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/321?action=diff&amp;amp;version=1"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>rgrp</dc:creator>

      <pubDate>Tue, 27 Jul 2010 21:38:30 GMT</pubDate>
      <title>milestone deleted</title>
      <link>http://localhost/ticket/321#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/321#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                &lt;em&gt;v1.1&lt;/em&gt; deleted
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>anonymous</dc:creator>

      <pubDate>Tue, 23 Nov 2010 10:02:47 GMT</pubDate>
      <title>owner changed</title>
      <link>http://localhost/ticket/321#comment:3</link>
      <guid isPermaLink="false">http://localhost/ticket/321#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;owner&lt;/strong&gt;
              changed from &lt;em&gt;johnbywater&lt;/em&gt; to &lt;em&gt;thejimmyg&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>anonymous</dc:creator>

      <pubDate>Wed, 08 Dec 2010 18:03:19 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost/ticket/321#comment:4</link>
      <guid isPermaLink="false">http://localhost/ticket/321#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;duplicate&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
This has now been superseded with this proposal: &lt;a class="closed ticket" href="http://localhost/ticket/787" title="task: Auth API (closed: fixed)"&gt;#787&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>