Skip to content

Commit b031216

Browse files
Merge branch 'release/17.0' into dev
2 parents 4071343 + e7de808 commit b031216

File tree

7 files changed

+13
-252
lines changed

7 files changed

+13
-252
lines changed

.github/workflows/docker-scheduled.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
build-release-candidate:
1717
# References to release/X.Y and X.Y-rc are being
1818
# updated from the devkit (UpdateWorkflows step) whenever a new release branch is created
19-
uses: opf/openproject/.github/workflows/docker.yml@release/16.6
19+
uses: opf/openproject/.github/workflows/docker.yml@release/17.0
2020
with:
21-
branch: release/16.6
22-
tag: 16.6-rc
21+
branch: release/17.0
22+
tag: 17.0-rc
2323
secrets: inherit

config/initializers/feature_decisions.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@
6060
description: "Enables the creation and management of portfolio and program work spaces.",
6161
force_active: true
6262

63-
OpenProject::FeatureDecisions.add :create_from_template_permissions,
64-
description: "Enables the currently unused " \
65-
'"Create Project, Portfolio, Program from template" permission.'
66-
6763
OpenProject::FeatureDecisions.add :new_project_overview,
6864
description: "Enables the new project overview experience.",
6965
force_active: true

config/initializers/permissions.rb

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -35,43 +35,21 @@
3535
{ projects: %i[new create] },
3636
permissible_on: :global,
3737
require: :loggedin,
38-
contract_actions: { projects: %i[create] },
39-
dependencies: :add_project_from_template
38+
contract_actions: { projects: %i[create] }
4039

4140
map.permission :add_portfolios,
4241
{ portfolios: %i[new create] },
4342
permissible_on: :global,
4443
require: :loggedin,
4544
visible: -> { OpenProject::FeatureDecisions.portfolio_models_active? },
46-
contract_actions: { portfolios: %i[create] },
47-
dependencies: :add_portfolios_from_template
45+
contract_actions: { portfolios: %i[create] }
4846

4947
map.permission :add_programs,
5048
{ programs: %i[new create] },
5149
permissible_on: :global,
5250
require: :loggedin,
5351
visible: -> { OpenProject::FeatureDecisions.portfolio_models_active? },
54-
contract_actions: { programs: %i[create] },
55-
dependencies: :add_programs_from_template
56-
57-
map.permission :add_project_from_template,
58-
{ projects: %i[new create] },
59-
permissible_on: :global,
60-
require: :loggedin,
61-
visible: -> { OpenProject::FeatureDecisions.create_from_template_permissions_active? },
62-
contract_actions: { projects: %i[create] }
63-
64-
map.permission :add_portfolios_from_template,
65-
{ portfolios: %i[new create] },
66-
permissible_on: :global,
67-
require: :loggedin,
68-
visible: -> { OpenProject::FeatureDecisions.create_from_template_permissions_active? }
69-
70-
map.permission :add_programs_from_template,
71-
{ programs: %i[new create] },
72-
permissible_on: :global,
73-
require: :loggedin,
74-
visible: -> { OpenProject::FeatureDecisions.create_from_template_permissions_active? }
52+
contract_actions: { programs: %i[create] }
7553

7654
map.permission :archive_project,
7755
{

config/locales/en.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4077,9 +4077,6 @@ en:
40774077
permission_add_project: "Create projects"
40784078
permission_add_portfolios: "Create portfolios"
40794079
permission_add_programs: "Create programs"
4080-
permission_add_project_from_template: "Create project from template"
4081-
permission_add_portfolios_from_template: "Create portfolio from template"
4082-
permission_add_programs_from_template: "Create program from template"
40834080
permission_add_work_package_attachments: "Add attachments"
40844081
permission_add_work_package_attachments_explanation: "Allows adding attachments without Edit work packages permission"
40854082
permission_add_internal_comments: "Write internal comments"
@@ -4097,6 +4094,7 @@ en:
40974094
permission_comment_news: "Comment news"
40984095
permission_commit_access: "Read/write access to repository (commit)"
40994096
permission_copy_projects: "Copy projects"
4097+
permission_copy_projects_explanation: "In template projects, this permission has a secondary function, it allows the creation of new projects derived from the template."
41004098
permission_copy_work_packages: "Duplicate work packages"
41014099
permission_create_backup: "Create backups"
41024100
permission_delete_work_package_watchers: "Delete watchers"
@@ -4730,7 +4728,9 @@ en:
47304728
label: "Side panel"
47314729
description: "Add all the project attributes in a section inside the right side panel in the project overview."
47324730
project_initiation_request:
4733-
header_description: "OpenProject can generate a step-by-step wizard to help project managers fill out a project initiation request. You can choose which project attributes should be included and what to do with the output document."
4731+
header_description: >
4732+
OpenProject can generate a step-by-step wizard to help project managers fill out a project initiation request.
4733+
You can choose which project attributes should be included and create a PDF artifact as a result.
47344734
status:
47354735
submitted: "%{wizard_name} has been submitted"
47364736
submitted_description: "Click the button below to go to the work package for the submission process."
Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,9 @@
2828
# See COPYRIGHT and LICENSE files for more details.
2929
#++
3030

31-
require Rails.root.join("db/migrate/migration_utils/permission_adder")
32-
33-
class AddFromTemplatePermissionsToRolesWithAddPermissions < ActiveRecord::Migration[8.0]
31+
class RemoveTemplatePermissionsFromRoles < ActiveRecord::Migration[8.0]
3432
def up
35-
::Migration::MigrationUtils::PermissionAdder.add(:add_project, :add_project_from_template)
36-
::Migration::MigrationUtils::PermissionAdder.add(:add_programs, :add_programs_from_template)
37-
::Migration::MigrationUtils::PermissionAdder.add(:add_portfolios, :add_portfolios_from_template)
38-
end
39-
40-
def down
41-
# Remove the permissions that were added
33+
# Remove any leftover permissions that may have been previously added.
4234
RolePermission.delete_by(
4335
permission: %w(
4436
add_project_from_template

publiccode.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ description:
141141
142142
OpenProject complies with the requirements of the [BSI IT-Grundschutz](https://www.bsi.bund.de/EN/Themen/Unternehmen-und-Organisationen/Standards-und-Zertifizierung/IT-Grundschutz/it-grundschutz_node.html) and is continuously tested against the WCAG 2.1 guidelines, as demonstrated in the [audit report](https://gitlab.opencode.de/bmi/opendesk/info/-/blob/main/24.03/Barrierefreiheit/Barrierefreiheitsbericht%20-%20Komponente%20Projekte.pdf).
143143
144-
OpenProject is fully compatible with the [German Administrative Cloud Strategy (DVS)](https://www.cio.bund.de/Webs/CIO/EN/digital-solutions/digital-sovereignty/german-administrative-cloud-strategy/german-administrative-cloud-strategy-node.html).
144+
OpenProject is fully compatible with the [German Administrative Cloud Strategy (DVS)](https://www.cio.bund.de/Webs/CIO/DE/digitale-loesungen/digitale-souveraenitaet/deutsche-verwaltungscloud-strategie/deutsche-verwaltungscloud-strategie-node.html).
145145
146146
OpenProject is part of the open-source office and collaboration suite
147147
[openDesk](https://www.opendesk.eu).

spec/migrations/add_from_template_permissions_to_roles_with_add_permissions_spec.rb

Lines changed: 0 additions & 205 deletions
This file was deleted.

0 commit comments

Comments
 (0)