Skip to content

Commit b7ffc96

Browse files
authored
Merge pull request #543 from itk-dev/feature/5248-hearing-editor-permissions
5248: Fixed permission name
2 parents a1ceafd + 973febb commit b7ffc96

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

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

77
## [Unreleased]
88

9+
* [PR-543](https://github.com/itk-dev/deltag.aarhus.dk/pull/543)
10+
5248: Fixed permission name (`edit``update`)
911
* [PR-542](https://github.com/itk-dev/deltag.aarhus.dk/pull/542)
1012
Added Page editor role
1113

web/modules/custom/hoeringsportal_deskpro/src/Service/HearingHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function isDeadlinePassed(NodeInterface $node) {
9696
}
9797

9898
// Allow users with edit access to do stuff after the deadline.
99-
if ($node->access('edit', \Drupal::currentUser())) {
99+
if ($node->access('update', \Drupal::currentUser())) {
100100
return FALSE;
101101
}
102102

0 commit comments

Comments
 (0)