Skip to content

Commit 0433e9a

Browse files
committed
Merge branch 'release/4.9.0'
2 parents 45b7768 + 555ed18 commit 0433e9a

20 files changed

+1068
-235
lines changed

.github/workflows/pr.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ jobs:
5252
steps:
5353
- uses: actions/checkout@v4
5454
- uses: arduino/setup-task@v2
55+
# https://github.com/arduino/setup-task/tree/56d0cc033e3cecc5f07a291fdd39f29388d21800?tab=readme-ov-file#repo-token
56+
with:
57+
repo-token: ${{ secrets.GITHUB_TOKEN }}
58+
5559
- run: |
5660
docker network create frontend
5761
task compose -- up --detach
@@ -70,6 +74,9 @@ jobs:
7074
steps:
7175
- uses: actions/checkout@v4
7276
- uses: arduino/setup-task@v2
77+
with:
78+
repo-token: ${{ secrets.GITHUB_TOKEN }}
79+
7380
- run: task coding-standards:assets:check
7481
# Check for any changes (task …:check runs task …:apply)
7582
- run: git diff --exit-code
@@ -80,6 +87,9 @@ jobs:
8087
steps:
8188
- uses: actions/checkout@v4
8289
- uses: arduino/setup-task@v2
90+
with:
91+
repo-token: ${{ secrets.GITHUB_TOKEN }}
92+
8393
- run: task coding-standards:markdown:check
8494
# Check for any changes (task …:check runs task …:apply)
8595
- run: git diff --exit-code
@@ -90,6 +100,9 @@ jobs:
90100
steps:
91101
- uses: actions/checkout@v4
92102
- uses: arduino/setup-task@v2
103+
with:
104+
repo-token: ${{ secrets.GITHUB_TOKEN }}
105+
93106
- run: |
94107
docker network create frontend
95108
task compose -- up --detach
@@ -104,6 +117,9 @@ jobs:
104117
steps:
105118
- uses: actions/checkout@v4
106119
- uses: arduino/setup-task@v2
120+
with:
121+
repo-token: ${{ secrets.GITHUB_TOKEN }}
122+
107123
- run: |
108124
docker network create frontend
109125
task compose -- up --detach
@@ -118,6 +134,9 @@ jobs:
118134
steps:
119135
- uses: actions/checkout@v4
120136
- uses: arduino/setup-task@v2
137+
with:
138+
repo-token: ${{ secrets.GITHUB_TOKEN }}
139+
121140
- run: |
122141
docker network create frontend
123142
task compose -- up --detach

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
88

9+
## [4.9.0] - 2025-03-25
10+
11+
* [PR-484](https://github.com/itk-dev/hoeringsportal/pull/484)
12+
Added token to `arduino/setup-task`
13+
* [PR-483](https://github.com/itk-dev/hoeringsportal/pull/483)
14+
Made exports consistent
15+
* [PR-482](https://github.com/itk-dev/hoeringsportal/pull/482)
16+
* Updated role permissions
17+
* Updated user fixtures to create a user for each role
18+
919
## [4.8.7] - 2025-04-04
1020

1121
* [PR-488](https://github.com/itk-dev/hoeringsportal/pull/488)
@@ -407,7 +417,8 @@ Updated drupal core 8.6.16
407417

408418
Initial release
409419

410-
[Unreleased]: https://github.com/itk-dev/hoeringsportal/compare/4.8.5...HEAD
420+
[Unreleased]: https://github.com/itk-dev/hoeringsportal/compare/4.9.0...HEAD
421+
[4.9.0]: https://github.com/itk-dev/hoeringsportal/compare/4.8.5...4.9.0
411422
[4.8.5]: https://github.com/itk-dev/hoeringsportal/compare/4.8.4...4.8.5
412423
[4.8.4]: https://github.com/itk-dev/hoeringsportal/compare/4.8.3...4.8.4
413424
[4.8.3]: https://github.com/itk-dev/hoeringsportal/compare/4.8.2...4.8.3

Taskfile.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ tasks:
2626
- task compose-up
2727
- task composer-install
2828
- task drush -- --yes site:install --existing-config
29+
- task: translations:import
30+
- task drush -- --yes cache:rebuild
2931
- task assets-build
3032
- task site-open
3133
- task site-open-admin
@@ -38,6 +40,8 @@ tasks:
3840
- task composer-install
3941
- task assets-build
4042
- task drush -- deploy
43+
- task: translations:import
44+
- task drush -- --yes cache:rebuild
4145
silent: true
4246

4347
site-url:

config/sync/openid_connect.client.generic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ langcode: en
33
status: true
44
dependencies: { }
55
id: generic
6-
label: generic
6+
label: Medarbejderlogin
77
plugin: generic
88
settings:
99
client_id: client-id

config/sync/openid_connect.settings.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,13 @@ redirect_logout: ''
1111
userinfo_mappings:
1212
timezone: zoneinfo
1313
role_mappings:
14-
editor: { }
15-
administrator: { }
14+
citizen_proposal_editor:
15+
- citizen_proposal_editor
16+
administrator:
17+
- administrator
18+
hearing_editor:
19+
- hearing_editor
20+
project_editor:
21+
- project_editor
22+
public_meeting_editor:
23+
- public_meeting_editor

config/sync/system.action.user_add_role_action.editor.yml

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

config/sync/system.action.user_remove_role_action.editor.yml

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

config/sync/user.role.citizen_proposal_editor.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,34 @@ dependencies:
1010
- filter
1111
- hoeringsportal_citizen_proposal
1212
- node
13+
- publication_date
1314
- system
15+
- toolbar
1416
- view_unpublished
1517
- webform
1618
id: citizen_proposal_editor
17-
label: 'Citizen proposal editor'
19+
label: Borgerforslagsredaktør
1820
weight: -8
1921
is_admin: null
2022
permissions:
2123
- 'access content overview'
24+
- 'access toolbar'
2225
- 'access webform overview'
2326
- 'access webform submission user'
2427
- 'administer citizen proposal'
2528
- 'create webform'
29+
- 'delete any citizen_proposal content'
30+
- 'delete citizen_proposal revisions'
31+
- 'delete own citizen_proposal content'
2632
- 'delete own files'
2733
- 'edit any citizen_proposal content'
2834
- 'edit any webform'
35+
- 'edit own citizen_proposal content'
36+
- 'revert citizen_proposal revisions'
37+
- 'set citizen_proposal published on date'
2938
- 'support citizen proposal on behalf of citizen'
3039
- 'use text format email_html'
3140
- 'view any unpublished citizen_proposal content'
3241
- 'view any webform submission'
42+
- 'view citizen_proposal revisions'
3343
- 'view the administration theme'

config/sync/user.role.editor.yml

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

config/sync/user.role.hearing_editor.yml

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,49 @@ langcode: da
33
status: true
44
dependencies:
55
config:
6+
- entity_browser.browser.itk_document_browser
7+
- entity_browser.browser.itk_image_browser
68
- filter.format.email_html
9+
- media.type.document
10+
- media.type.image
711
- node.type.hearing
812
module:
13+
- entity_browser
914
- file
1015
- filter
16+
- media
1117
- node
18+
- quick_node_clone
1219
- system
13-
- webform
20+
- toolbar
21+
- view_unpublished
1422
id: hearing_editor
15-
label: 'Hearing editor'
23+
label: Høringsredaktør
1624
weight: -5
1725
is_admin: null
1826
permissions:
1927
- 'access content overview'
20-
- 'access webform overview'
28+
- 'access itk_document_browser entity browser pages'
29+
- 'access itk_image_browser entity browser pages'
30+
- 'access media overview'
31+
- 'access toolbar'
32+
- 'clone hearing content'
33+
- 'create document media'
2134
- 'create hearing content'
35+
- 'create image media'
36+
- 'delete any hearing content'
37+
- 'delete hearing revisions'
38+
- 'delete own document media'
2239
- 'delete own files'
40+
- 'delete own hearing content'
41+
- 'delete own image media'
2342
- 'edit any hearing content'
43+
- 'edit own document media'
44+
- 'edit own hearing content'
45+
- 'edit own image media'
46+
- 'revert hearing revisions'
2447
- 'use text format email_html'
48+
- 'view any unpublished hearing content'
49+
- 'view hearing revisions'
50+
- 'view own unpublished media'
2551
- 'view the administration theme'

0 commit comments

Comments
 (0)