Version sharing (#465) + optional inclusion of subprojects in the roadmap view (#2666).

Each version of a project can be shared with:
* subprojects
* projects in the project hierarchy: ancestors + descendants (needs versions management permission on the root project)
* projects in the project tree: root project + all its descendants (same as above)
* all projects (can be set by admin users only)

Notes:
* when sharing a version of a private project with others projects, its name will be visible within the other projects
* a project with versions used by non descendant projects can not be archived

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3123 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2009-12-06 10:28:20 +00:00
1 parent e178123569
commit 5f8e9d7118
40 files changed
+659 -75

No files matched your search

+12 -1
View File
@@ -133,4 +133,15 @@ attachments_011:
filename: picture.jpg
author_id: 2
content_type: image/jpeg
attachments_012:
created_on: 2006-07-19 21:07:27 +02:00
container_type: Version
container_id: 1
downloads: 0
disk_filename: 060719210727_version_file.zip
digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
id: 12
filesize: 452
filename: version_file.zip
author_id: 2
content_type: application/octet-stream
+14
View File
@@ -189,3 +189,17 @@ issues_012:
status_id: 5
start_date: <%= 1.day.ago.to_date.to_s(:db) %>
due_date:
issues_013:
created_on: <%= 5.days.ago.to_date.to_s(:db) %>
project_id: 3
updated_on: <%= 2.days.ago.to_date.to_s(:db) %>
priority_id: 4
subject: Subproject issue two
id: 13
fixed_version_id:
category_id:
description: This is a second issue on a cookbook subproject
tracker_id: 1
assigned_to_id:
author_id: 2
status_id: 1
+7
View File
@@ -13,3 +13,10 @@ journal_details_002:
value: "30"
prop_key: done_ratio
journal_id: 1
journal_details_003:
old_value: nil
property: attr
id: 3
value: "6"
prop_key: fixed_version_id
journal_id: 4
+7 -1
View File
@@ -20,4 +20,10 @@ journals_003:
journalized_type: Issue
user_id: 2
journalized_id: 2
journals_004:
created_on: <%= 1.days.ago.to_date.to_s(:db) %>
notes: "A comment with a private version."
id: 4
journalized_type: Issue
user_id: 1
journalized_id: 6
+6 -1
View File
@@ -42,4 +42,9 @@ members_007:
project_id: 5
user_id: 8
mail_notification: false
members_008:
created_on: 2006-07-19 19:35:33 +02:00
project_id: 5
id: 8
user_id: 1
mail_notification: true
+43 -1
View File
@@ -8,6 +8,7 @@ versions_001:
description: Beta
effective_date: 2006-07-01
status: closed
sharing: 'none'
versions_002:
created_on: 2006-07-19 21:00:33 +02:00
name: "1.0"
@@ -17,6 +18,7 @@ versions_002:
description: Stable release
effective_date: <%= 20.day.from_now.to_date.to_s(:db) %>
status: locked
sharing: 'none'
versions_003:
created_on: 2006-07-19 21:00:33 +02:00
name: "2.0"
@@ -26,4 +28,44 @@ versions_003:
description: Future version
effective_date:
status: open
sharing: 'none'
versions_004:
created_on: 2006-07-19 21:00:33 +02:00
name: "2.0"
project_id: 3
updated_on: 2006-07-19 21:00:33 +02:00
id: 4
description: Future version on subproject
effective_date:
status: open
sharing: 'tree'
versions_005:
created_on: 2006-07-19 21:00:07 +02:00
name: "Alpha"
project_id: 2
updated_on: 2006-07-19 21:00:07 +02:00
id: 5
description: Private Alpha
effective_date: 2006-07-01
status: open
sharing: 'none'
versions_006:
created_on: 2006-07-19 21:00:07 +02:00
name: "Private Version of public subproject"
project_id: 5
updated_on: 2006-07-19 21:00:07 +02:00
id: 6
description: "Should be done any day now..."
effective_date:
status: open
sharing: 'tree'
versions_007:
created_on: 2006-07-19 21:00:07 +02:00
name: "Systemwide visible version"
project_id: 2
updated_on: 2006-07-19 21:00:07 +02:00
id: 7
description:
effective_date:
status: open
sharing: 'system'