Added an access role to views

Just made it "authorised user" for now, to keep the security review happy
This commit is contained in:
naomi 2018-04-27 19:18:14 +02:00
parent d21109ebca
commit 0dceb8c38d
4 changed files with 36 additions and 8 deletions

View File

@ -1,7 +1,10 @@
langcode: en
status: true
dependencies:
config:
- user.role.authenticated
module:
- user
- zencrm_entities
id: single_case_with_activities
label: 'Single Case with Activities'
@ -19,8 +22,10 @@ display:
position: 0
display_options:
access:
type: none
options: { }
type: role
options:
role:
authenticated: authenticated
cache:
type: tag
options: { }
@ -463,6 +468,7 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- user.roles
tags: { }
block_1:
display_plugin: block
@ -478,4 +484,5 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- user.roles
tags: { }

View File

@ -1,7 +1,10 @@
langcode: en
status: true
dependencies:
config:
- user.role.authenticated
module:
- user
- zencrm_entities
id: this_hat_s_cases
label: 'This hat''s cases'
@ -19,8 +22,10 @@ display:
position: 0
display_options:
access:
type: none
options: { }
type: role
options:
role:
authenticated: authenticated
cache:
type: tag
options: { }
@ -377,6 +382,7 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- user.roles
tags: { }
block_1:
display_plugin: block
@ -391,4 +397,5 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- user.roles
tags: { }

View File

@ -1,7 +1,10 @@
langcode: en
status: true
dependencies:
config:
- user.role.authenticated
module:
- user
- zencrm_entities
id: this_person_s_contact_details
label: 'Contact Details'
@ -19,8 +22,10 @@ display:
position: 0
display_options:
access:
type: none
options: { }
type: role
options:
role:
authenticated: authenticated
cache:
type: tag
options: { }
@ -290,6 +295,7 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- user.roles
tags: { }
block_1:
display_plugin: block
@ -305,6 +311,7 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- user.roles
tags: { }
entity_reference_1:
display_plugin: entity_reference
@ -561,4 +568,5 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- user.roles
tags: { }

View File

@ -3,7 +3,9 @@ status: true
dependencies:
config:
- block.block.hatcreator
- user.role.authenticated
module:
- user
- zencrm_entities
id: this_person_s_hats
label: Hats
@ -21,8 +23,10 @@ display:
position: 0
display_options:
access:
type: none
options: { }
type: role
options:
role:
authenticated: authenticated
cache:
type: tag
options: { }
@ -357,6 +361,7 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- user.roles
tags:
- 'config:core.entity_view_display.hat.client.default'
- 'config:core.entity_view_display.hat.volunteer.default'
@ -382,6 +387,7 @@ display:
- 'languages:language_content'
- 'languages:language_interface'
- url
- user.roles
tags:
- 'config:core.entity_view_display.hat.client.default'
- 'config:core.entity_view_display.hat.volunteer.default'