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

View File

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

View File

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

View File

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