<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #1425: Dataset delete button</title>
    <link>http://localhost/ticket/1425</link>
    <description>&lt;p&gt;
From Jonathan gray:
&lt;/p&gt;
&lt;p&gt;
At the moment to delete a package you have to go to 'state' and change from 'active' to 'deleted'.
&lt;/p&gt;
&lt;p&gt;
For me this was not very obvious, and someone recently wrote to me about this too.
&lt;/p&gt;
&lt;p&gt;
Its a small issue - but unless you know what 'state: active' refers to, its not obvious what this means, nor that this is where to go if you want to delete a package.
&lt;/p&gt;
&lt;p&gt;
From UI perspective this could be replaced by either a trash can or some text that says 'delete', perhaps with some prompt that explains what happens when you delete a package - explaining that non-admins won't be able to see it, and how you purge, etc.
&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/1425</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Thu, 27 Oct 2011 17:03:32 GMT</pubDate>
      <title>status changed; owner set</title>
      <link>http://localhost/ticket/1425#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/1425#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;owner&lt;/strong&gt;
              set to &lt;em&gt;zephod&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;/ul&gt;
        &lt;p&gt;
Cheers for taking this on Tom
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>shevski</dc:creator>

      <pubDate>Mon, 16 Jan 2012 00:36:47 GMT</pubDate>
      <title>keywords set</title>
      <link>http://localhost/ticket/1425#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/1425#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;keywords&lt;/strong&gt;
              &lt;em&gt;ux&lt;/em&gt; added
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Tue, 17 Jan 2012 17:35:22 GMT</pubDate>
      <title>cc set</title>
      <link>http://localhost/ticket/1425#comment:3</link>
      <guid isPermaLink="false">http://localhost/ticket/1425#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;cc&lt;/strong&gt;
              &lt;em&gt;shevski&lt;/em&gt; added
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
There is a package_delete logic function to achieve this (and indeed group_delete too).
&lt;/p&gt;
&lt;p&gt;
One of the reasons we haven't advertised it with a button is that anyone with 'edit' privileges can go round deleting packages. It's one thing spotting graffiti, but when you delete packages, it takes a lot of effort to spot nefarious deletions.
&lt;/p&gt;
&lt;p&gt;
I think should either restrict deleting to sysadmins or have a separate authz-action DELETE-PACKAGE that is not given to the average logged-in user.
&lt;/p&gt;
&lt;p&gt;
I believe Wikipedia does something similar - the average Joe can edit, but can't delete pages.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>zephod</dc:creator>

      <pubDate>Thu, 26 Jan 2012 19:21:58 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost/ticket/1425#comment:4</link>
      <guid isPermaLink="false">http://localhost/ticket/1425#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;assigned&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;fixed&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Refactored it to be (a) easy to find, and (b) a two-stage process which has a little more gravity. Like Bitbucket and &lt;a class="missing wiki"&gt;GitHub?&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
&lt;a class="ext-link" href="https://github.com/okfn/ckan/commit/f3a4c3de70da08d396da4e65a5d286b253be0e0b"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://github.com/okfn/ckan/commit/f3a4c3de70da08d396da4e65a5d286b253be0e0b&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Fri, 24 Feb 2012 12:08:02 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/1425#comment:5</link>
      <guid isPermaLink="false">http://localhost/ticket/1425#comment:5</guid>
      <description>
        &lt;p&gt;
Went into CKAN 1.6
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>