Core update + config for auth user being able to see own cases & debriefs

This commit is contained in:
2022-01-20 16:00:55 +00:00
parent 315ea3d580
commit 673aa6bd8d
21 changed files with 2090 additions and 2089 deletions
+153 -150
View File
@@ -7,7 +7,8 @@ dependencies:
- field.storage.oc_organisation.field_type_of_umbrella_client
- opencase_entities.oc_organisation_type.umbrella_client
- system.menu.opencase
- user.role.authenticated
- user.role.administrator
- user.role.gno_admin_user
module:
- opencase_entities
- options
@@ -23,107 +24,12 @@ base_table: oc_organisation_field_data
base_field: id
display:
default:
display_plugin: default
id: default
display_title: Master
display_plugin: default
position: 0
display_options:
access:
type: role
options:
role:
authenticated: authenticated
cache:
type: tag
options: { }
query:
type: views_query
options:
disable_sql_rewrite: false
distinct: false
replica: false
query_comment: ''
query_tags: { }
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
pager:
type: mini
options:
items_per_page: 50
offset: 0
id: 0
total_pages: null
tags:
previous: ‹‹
next: ››
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
style:
type: table
options:
grouping: { }
row_class: '{{ status }}'
default_row_class: true
override: true
sticky: false
caption: ''
summary: ''
description: ''
columns:
name: name
field_type_of_umbrella_client: field_type_of_umbrella_client
field_tags: field_tags
status: status
info:
name:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_type_of_umbrella_client:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_tags:
align: ''
separator: ''
empty_column: false
responsive: ''
status:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
default: '-1'
empty_table: false
row:
type: fields
options:
inline: { }
separator: ''
hide_empty: false
default_field_elements: true
title: 'All Umbrella Clients'
fields:
name:
id: name
@@ -132,6 +38,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: null
entity_field: name
plugin_id: field
label: Name
exclude: false
alter:
@@ -187,9 +96,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: null
entity_field: name
plugin_id: field
field_type_of_umbrella_client:
id: field_type_of_umbrella_client
table: oc_organisation__field_type_of_umbrella_client
@@ -197,6 +103,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: Type
exclude: false
alter:
@@ -251,7 +158,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
field_tags:
id: field_tags
table: oc_organisation__field_tags
@@ -259,6 +165,7 @@ display:
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: Tags
exclude: false
alter:
@@ -314,7 +221,6 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
plugin_id: field
status:
id: status
table: oc_organisation_field_data
@@ -322,6 +228,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: oc_organisation
entity_field: status
plugin_id: field
label: Published
exclude: true
alter:
@@ -367,8 +276,8 @@ display:
type: boolean
settings:
format: default
format_custom_true: ''
format_custom_false: ''
format_custom_true: ''
group_column: value
group_columns: { }
group_rows: true
@@ -379,22 +288,44 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: oc_organisation
entity_field: status
plugin_id: field
filters:
type:
id: type
table: oc_organisation_field_data
field: type
value:
umbrella_client: umbrella_client
entity_type: oc_organisation
entity_field: type
plugin_id: bundle
pager:
type: mini
options:
offset: 0
items_per_page: 50
total_pages: null
id: 0
tags:
next: ››
previous: ‹‹
expose:
operator_limit_selection: false
operator_list: { }
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: role
options:
role:
administrator: administrator
gno_admin_user: gno_admin_user
cache:
type: tag
options: { }
empty: { }
sorts:
name:
id: name
@@ -403,20 +334,92 @@ display:
relationship: none
group_type: group
admin_label: ''
order: ASC
exposed: false
expose:
label: ''
entity_type: oc_organisation
entity_field: name
plugin_id: standard
order: ASC
expose:
label: ''
field_identifier: name
exposed: false
arguments: { }
filters:
type:
id: type
table: oc_organisation_field_data
field: type
entity_type: oc_organisation
entity_field: type
plugin_id: bundle
value:
umbrella_client: umbrella_client
expose:
operator_limit_selection: false
operator_list: { }
style:
type: table
options:
grouping: { }
row_class: '{{ status }}'
default_row_class: true
columns:
name: name
field_type_of_umbrella_client: field_type_of_umbrella_client
field_tags: field_tags
status: status
default: '-1'
info:
name:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_type_of_umbrella_client:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_tags:
align: ''
separator: ''
empty_column: false
responsive: ''
status:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
override: true
sticky: false
summary: ''
empty_table: false
caption: ''
description: ''
row:
type: fields
options:
default_field_elements: true
inline: { }
separator: ''
hide_empty: false
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
header: { }
footer: { }
empty: { }
relationships: { }
arguments: { }
display_extenders: { }
title: 'All Umbrella Clients'
cache_metadata:
max-age: -1
contexts:
@@ -428,12 +431,11 @@ display:
- 'config:field.storage.oc_organisation.field_tags'
- 'config:field.storage.oc_organisation.field_type_of_umbrella_client'
entity_reference_1:
display_plugin: entity_reference
id: entity_reference_1
display_title: 'Entity Reference'
display_plugin: entity_reference
position: 2
display_options:
display_extenders: { }
fields:
name:
id: name
@@ -442,6 +444,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: null
entity_field: name
plugin_id: field
label: ''
exclude: false
alter:
@@ -497,28 +502,16 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
entity_type: null
entity_field: name
plugin_id: field
defaults:
fields: false
filters: false
filter_groups: false
style:
type: entity_reference
options:
search_fields:
name: name
filters:
type:
id: type
table: oc_organisation_field_data
field: type
value:
umbrella_client: umbrella_client
entity_type: oc_organisation
entity_field: type
plugin_id: bundle
value:
umbrella_client: umbrella_client
expose:
operator_limit_selection: false
operator_list: { }
@@ -529,6 +522,9 @@ display:
relationship: none
group_type: group
admin_label: ''
entity_type: oc_organisation
entity_field: status
plugin_id: boolean
operator: '='
value: '1'
group: 1
@@ -559,13 +555,20 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
entity_type: oc_organisation
entity_field: status
plugin_id: boolean
filter_groups:
operator: AND
groups:
1: AND
style:
type: entity_reference
options:
search_fields:
name: name
defaults:
fields: false
filters: false
filter_groups: false
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
@@ -574,9 +577,9 @@ display:
- user.roles
tags: { }
page_1:
display_plugin: page
id: page_1
display_title: Page
display_plugin: page
position: 1
display_options:
display_extenders: { }
@@ -585,11 +588,11 @@ display:
type: normal
title: 'Umbrella clients'
description: ''
expanded: false
parent: opencase.see_all
weight: -49
context: '0'
expanded: false
menu_name: opencase
parent: opencase.see_all
context: '0'
cache_metadata:
max-age: -1
contexts: