Task assignment

Tasks can be assigned to users. An user may decide to "claim" a task
directly, which will assign the task to him. Otherwise, it is possible
to set some arbitrary user as the assignee or remove the assignee
completely through the edition form.

Marking a task as completed will remove the assignee, while
re-activating a task will assign it to the user who re-activated it.

Also, fixed a bug which allowed a completed task to be edited.
This commit is contained in:
Emmanuel BENOîT 2012-02-06 16:38:11 +01:00
parent 850d2fa8d4
commit 56741bccaa
12 changed files with 180 additions and 80 deletions
includes/t-basics

View file

@ -38,8 +38,8 @@ class Dao_Users
public function getUsers( )
{
return $this->query(
'SELECT user_id , user_display_name , user_email '
. 'FROM users '
'SELECT user_id , user_display_name , user_email , user_view_name '
. 'FROM users_view '
. 'ORDER BY LOWER( user_email )' )->execute( );
}