<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #763: Read-only mode - Setup</title>
    <link>http://localhost/ticket/763</link>
    <description>&lt;p&gt;
Admin configures entering read-only mode in one of two places:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;CKAN config file (e.g. ckan.ini)
&lt;/li&gt;&lt;li&gt;environment variable from Apache config
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Once enabled, no writes can occur to the database (including user ratings and other usage stats).
&lt;/p&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/763</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Mon, 01 Nov 2010 10:18:50 GMT</pubDate>
      <title>owner set</title>
      <link>http://localhost/ticket/763#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/763#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;owner&lt;/strong&gt;
              set to &lt;em&gt;dread&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Mon, 01 Nov 2010 10:21:58 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/763#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/763#comment:2</guid>
      <description>
        &lt;p&gt;
Referencing ticket &lt;a class="closed ticket" href="http://localhost/ticket/441" title="requirement: CKAN read-only state (closed: duplicate)"&gt;#441&lt;/a&gt; has changed sprint.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Fri, 17 Dec 2010 11:45:26 GMT</pubDate>
      <title>type changed; priority, component set</title>
      <link>http://localhost/ticket/763#comment:3</link>
      <guid isPermaLink="false">http://localhost/ticket/763#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;priority&lt;/strong&gt;
                set to &lt;em&gt;awaiting triage&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;type&lt;/strong&gt;
                changed from &lt;em&gt;story&lt;/em&gt; to &lt;em&gt;enhancement&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;component&lt;/strong&gt;
                set to &lt;em&gt;ckan&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>thejimmyg</dc:creator>

      <pubDate>Sun, 19 Dec 2010 16:14:08 GMT</pubDate>
      <title>owner, priority changed</title>
      <link>http://localhost/ticket/763#comment:4</link>
      <guid isPermaLink="false">http://localhost/ticket/763#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;owner&lt;/strong&gt;
              changed from &lt;em&gt;dread&lt;/em&gt; to &lt;em&gt;thejimmyg&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;priority&lt;/strong&gt;
                changed from &lt;em&gt;awaiting triage&lt;/em&gt; to &lt;em&gt;minor&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Notes from my discussion with David a while ago:
&lt;/p&gt;
&lt;p&gt;
Following irc discussion, it looks like read-only mode is simply
achieved by Apache config:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;503 for PUT/POST operations - stops writes
&lt;/li&gt;&lt;li&gt;503 for GETs to URIs containing: /edit, /create, /new, /authz -
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
stops providing forms that lead to a write
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;setenv CKAN_READONLY="Undergoing maintenance 12.00 UTC for one hour"
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
which can be picked up by CKAN to be displayed as we see fit in the
future. Friedrich's current IATI sprint may link into this and grey
out edit links etc.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ross</dc:creator>

      <pubDate>Mon, 28 May 2012 11:56:44 GMT</pubDate>
      <title>status changed; repo, theme, milestone set; owner deleted</title>
      <link>http://localhost/ticket/763#comment:5</link>
      <guid isPermaLink="false">http://localhost/ticket/763#comment:5</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;owner&lt;/strong&gt;
              &lt;em&gt;thejimmyg&lt;/em&gt; deleted
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;repo&lt;/strong&gt;
                set to &lt;em&gt;ckan&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;theme&lt;/strong&gt;
                set to &lt;em&gt;none&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;assigned&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                set to &lt;em&gt;ckan-future&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>