Skip to content

Commit 309e39b

Browse files
committed
5249: Created Page editor role
1 parent 57f43fc commit 309e39b

4 files changed

Lines changed: 61 additions & 0 deletions

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
88

9+
* [PR-542](https://github.com/itk-dev/deltag.aarhus.dk/pull/542)
10+
Added Page editor role
11+
912
## [4.11.1] - 2025-08-22
1013

1114
* [PR-539](https://github.com/itk-dev/deltag.aarhus.dk/pull/539)
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
uuid: fdeedf43-e2b0-46bc-b9f4-661c54936829
2+
langcode: da
3+
status: true
4+
dependencies:
5+
config:
6+
- user.role.page_editor
7+
module:
8+
- user
9+
id: user_add_role_action.page_editor
10+
label: 'Add the Sideredaktør role to the selected user(s)'
11+
type: user
12+
plugin: user_add_role_action
13+
configuration:
14+
rid: page_editor
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
uuid: 3627a88a-46a2-41e0-be35-8247d9957b43
2+
langcode: da
3+
status: true
4+
dependencies:
5+
config:
6+
- user.role.page_editor
7+
module:
8+
- user
9+
id: user_remove_role_action.page_editor
10+
label: 'Remove the Sideredaktør role from the selected user(s)'
11+
type: user
12+
plugin: user_remove_role_action
13+
configuration:
14+
rid: page_editor
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
uuid: 9dd4e2f0-2252-406d-bca6-828ffd39ff71
2+
langcode: da
3+
status: true
4+
dependencies:
5+
config:
6+
- node.type.landing_page
7+
- node.type.static_page
8+
module:
9+
- node
10+
id: page_editor
11+
label: Sideredaktør
12+
weight: -3
13+
is_admin: null
14+
permissions:
15+
- 'create landing_page content'
16+
- 'create static_page content'
17+
- 'delete any landing_page content'
18+
- 'delete any static_page content'
19+
- 'delete landing_page revisions'
20+
- 'delete own landing_page content'
21+
- 'delete own static_page content'
22+
- 'delete static_page revisions'
23+
- 'edit any landing_page content'
24+
- 'edit any static_page content'
25+
- 'edit own landing_page content'
26+
- 'edit own static_page content'
27+
- 'revert landing_page revisions'
28+
- 'revert static_page revisions'
29+
- 'view landing_page revisions'
30+
- 'view static_page revisions'

0 commit comments

Comments
 (0)