[ckan-changes] [ckan/ckan] f695e3: Adds a closed property so they can be closed w/o d...
GitHub
noreply at github.com
Mon Jan 5 16:39:01 UTC 2015
Branch: refs/heads/closed-organizations
Home: https://github.com/ckan/ckan
Commit: f695e3b2ec5ffac68e60256d2429e36fa57543e7
https://github.com/ckan/ckan/commit/f695e3b2ec5ffac68e60256d2429e36fa57543e7
Author: Ross Jones <ross at servercode.co.uk>
Date: 2015-01-05 (Mon, 05 Jan 2015)
Changed paths:
M ckan/lib/dictization/model_dictize.py
M ckan/logic/action/create.py
M ckan/logic/schema.py
A ckan/migration/versions/075_add_closed_to_group.py
M ckan/model/group.py
M ckan/new_tests/lib/dictization/test_model_dictize.py
M ckan/templates/organization/snippets/organization_form.html
M ckan/templates/snippets/organization.html
M ckan/tests/lib/test_dictization.py
M ckan/tests/lib/test_dictization_schema.py
M ckan/tests/models/test_group.py
Log Message:
-----------
Adds a closed property so they can be closed w/o deletion
As described in https://github.com/ckan/ideas-and-roadmap/issues/118
Although it is possible to delete organisations, there is no
functionality to allow for organisations to be closed. Closed
organisations are those that cease to exist, but whose datasets and
other metadata are still important.
Sometimes the organisation's datasets are merged with another, sometimes
they're just needed for a historical archive, but deleting them (and
thereby removing from public view) is not what is required.
* Allow for marking an organisation as closed (or re-opening).
* Prominently show closed organisations as closed (optionally with a link
to the new organisation it may have become part of).
* Ensure that whenever the organisation is shown, the title is rendered
with _("(Closed)") appended, or some other way of ensuring that the
title clearly shows the organisation no longer exists.
More information about the ckan-changes
mailing list