dharmafly/tasket — Issue #426: local setting for forcing deleting of "active" hubs and tasks
Author: premasagar
Created: 2011-11-23 22:45:51+00:00
State: open
Labels: Back-end

It is currently not permitted for a task to be deleted if it has been claimed, nor for a hub to be deleted if it has a task that has been claimed.

There should be a a setting in local_settings.py that allows the setting of two flags: `ACTIVE_TASKS_ARE_DELETABLE` and `ACTIVE_HUBS_ARE_DELETABLE` (or similar). The default should be `false`.

It is useful to be able to set this behaviour to `true`, for example with an app like the Notepad, where hubs are generally private to an individual and where tasks that have been done and task lists (i.e. hubs) that contain old, completed tasks are not so important to be kept around.