Skip to content

Commit a1ceafd

Browse files
authored
Merge pull request #542 from itk-dev/feature/5249-page-editor-permissions
5249: Created Page editor role
2 parents 57f43fc + bcf37ad commit a1ceafd

File tree

4 files changed

+101
-0
lines changed

4 files changed

+101
-0
lines changed

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: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
uuid: 9dd4e2f0-2252-406d-bca6-828ffd39ff71
2+
langcode: da
3+
status: true
4+
dependencies:
5+
config:
6+
- entity_browser.browser.itk_document_browser
7+
- entity_browser.browser.itk_icon_browser
8+
- entity_browser.browser.itk_image_browser
9+
- media.type.document
10+
- media.type.image
11+
- node.type.landing_page
12+
- node.type.static_page
13+
module:
14+
- entity_browser
15+
- media
16+
- node
17+
- path
18+
- publishcontent
19+
- quick_node_clone
20+
- system
21+
- toolbar
22+
- view_unpublished
23+
id: page_editor
24+
label: Sideredaktør
25+
weight: -3
26+
is_admin: null
27+
permissions:
28+
- 'access content overview'
29+
- 'access itk_document_browser entity browser pages'
30+
- 'access itk_icon_browser entity browser pages'
31+
- 'access itk_image_browser entity browser pages'
32+
- 'access media overview'
33+
- 'access toolbar'
34+
- 'administer url aliases'
35+
- 'clone landing_page content'
36+
- 'clone static_page content'
37+
- 'create document media'
38+
- 'create image media'
39+
- 'create landing_page content'
40+
- 'create media'
41+
- 'create static_page content'
42+
- 'create url aliases'
43+
- 'delete any landing_page content'
44+
- 'delete any static_page content'
45+
- 'delete landing_page revisions'
46+
- 'delete own document media'
47+
- 'delete own image media'
48+
- 'delete own landing_page content'
49+
- 'delete own static_page content'
50+
- 'delete static_page revisions'
51+
- 'edit any landing_page content'
52+
- 'edit any static_page content'
53+
- 'edit own document media'
54+
- 'edit own image media'
55+
- 'edit own landing_page content'
56+
- 'edit own static_page content'
57+
- 'publish any node type landing_page'
58+
- 'publish any node type static_page'
59+
- 'revert landing_page revisions'
60+
- 'revert static_page revisions'
61+
- 'unpublish any node type landing_page'
62+
- 'unpublish any node type static_page'
63+
- 'update media'
64+
- 'view any unpublished landing_page content'
65+
- 'view any unpublished static_page content'
66+
- 'view landing_page revisions'
67+
- 'view own unpublished content'
68+
- 'view own unpublished media'
69+
- 'view static_page revisions'
70+
- 'view the administration theme'

0 commit comments

Comments
 (0)