Adds version status to limit issue assignments (#1245).

Available version statuses are:
* open: no restriction
* locked: can not assign new issues to the version
* closed: can not assign new issues and can not reopen assigned issues

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3020 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2009-11-08 13:03:41 +00:00
parent 7c14c6d42e
commit d201c54455
49 changed files with 293 additions and 15 deletions
+32
View File
@@ -157,3 +157,35 @@ issues_010:
status_id: 1
start_date: <%= Date.today.to_s(:db) %>
due_date: <%= 1.days.from_now.to_date.to_s(:db) %>
issues_011:
created_on: <%= 3.days.ago.to_date.to_s(:db) %>
project_id: 1
updated_on: <%= 1.day.ago.to_date.to_s(:db) %>
priority_id: 5
subject: Closed issue on a closed version
id: 11
fixed_version_id: 1
category_id: 1
description:
tracker_id: 1
assigned_to_id:
author_id: 2
status_id: 5
start_date: <%= 1.day.ago.to_date.to_s(:db) %>
due_date:
issues_012:
created_on: <%= 3.days.ago.to_date.to_s(:db) %>
project_id: 1
updated_on: <%= 1.day.ago.to_date.to_s(:db) %>
priority_id: 5
subject: Closed issue on a locked version
id: 12
fixed_version_id: 2
category_id: 1
description:
tracker_id: 1
assigned_to_id:
author_id: 2
status_id: 5
start_date: <%= 1.day.ago.to_date.to_s(:db) %>
due_date:
+3
View File
@@ -7,6 +7,7 @@ versions_001:
id: 1
description: Beta
effective_date: 2006-07-01
status: closed
versions_002:
created_on: 2006-07-19 21:00:33 +02:00
name: "1.0"
@@ -15,6 +16,7 @@ versions_002:
id: 2
description: Stable release
effective_date: <%= 20.day.from_now.to_date.to_s(:db) %>
status: locked
versions_003:
created_on: 2006-07-19 21:00:33 +02:00
name: "2.0"
@@ -23,4 +25,5 @@ versions_003:
id: 3
description: Future version
effective_date:
status: open