dharmafly / tasket

A micro-volunteering app, for crowd-managed tasks.
http://dharmafly.com/tasket
26 stars 3 forks source link

local setting for forcing deleting of "active" hubs and tasks #426

Open premasagar opened 13 years ago

premasagar commented 13 years ago

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.