Skip to content

Commit

Permalink
VACMS-11334: Updates permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
omahane committed Nov 1, 2023
1 parent 665c1bb commit ea3d0f6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ content:
open_text: 'Currently open!'
closed_text: 'Currently closed'
exceptions:
title: 'Exception hours'
restrict_exceptions_to_num_days: 7
date_format: long
all_day_format: 'All day open'
Expand Down
1 change: 1 addition & 0 deletions config/sync/user.role.admnistrator_users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ permissions:
- 'assign content_api_consumer role'
- 'assign content_creator_benefits_hubs role'
- 'assign content_creator_resources_and_support role'
- 'assign content_creator_vba role'
- 'assign content_creator_vet_center role'
- 'assign content_editor role'
- 'assign content_publisher role'
Expand Down
1 change: 1 addition & 0 deletions config/sync/user.role.content_creator_vba.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ weight: -3
is_admin: null
permissions:
- 'create vba_facility_service content'
- 'view node link report'
2 changes: 2 additions & 0 deletions tests/phpunit/Security/RolesPermissionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ public function expectedPerms() {
'content_creator_vba',
[
'create vba_facility_service content',
'view node link report',
],
],
[
Expand Down Expand Up @@ -840,6 +841,7 @@ public function expectedPerms() {
'assign content_api_consumer role',
'assign content_creator_benefits_hubs role',
'assign content_creator_resources_and_support role',
'assign content_creator_vba role',
'assign content_creator_vet_center role',
'assign content_editor role',
'assign content_publisher role',
Expand Down

0 comments on commit ea3d0f6

Please sign in to comment.