a0ab7282b8
This involved creating access control handlers for cases and activities (also did one for actors for good measure) and regenerating the opencase_features_opencase_ui feature so as to add the "type" field to the views
522 lines
14 KiB
YAML
522 lines
14 KiB
YAML
langcode: en
|
|
status: true
|
|
dependencies:
|
|
config:
|
|
- user.role.authenticated
|
|
module:
|
|
- opencase_entities
|
|
- user
|
|
id: cases
|
|
label: Cases
|
|
module: views
|
|
description: ''
|
|
tag: ''
|
|
base_table: oc_case_field_data
|
|
base_field: id
|
|
core: 8.x
|
|
display:
|
|
default:
|
|
display_plugin: default
|
|
id: default
|
|
display_title: Master
|
|
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: some
|
|
options:
|
|
items_per_page: 10
|
|
offset: 0
|
|
style:
|
|
type: table
|
|
row:
|
|
type: fields
|
|
fields:
|
|
id:
|
|
id: id
|
|
table: oc_case_field_data
|
|
field: id
|
|
relationship: none
|
|
group_type: group
|
|
admin_label: ''
|
|
label: ID
|
|
exclude: true
|
|
alter:
|
|
alter_text: false
|
|
text: ''
|
|
make_link: false
|
|
path: ''
|
|
absolute: false
|
|
external: false
|
|
replace_spaces: false
|
|
path_case: none
|
|
trim_whitespace: false
|
|
alt: ''
|
|
rel: ''
|
|
link_class: ''
|
|
prefix: ''
|
|
suffix: ''
|
|
target: ''
|
|
nl2br: false
|
|
max_length: 0
|
|
word_boundary: true
|
|
ellipsis: true
|
|
more_link: false
|
|
more_link_text: ''
|
|
more_link_path: ''
|
|
strip_tags: false
|
|
trim: false
|
|
preserve_tags: ''
|
|
html: false
|
|
element_type: ''
|
|
element_class: ''
|
|
element_label_type: ''
|
|
element_label_class: ''
|
|
element_label_colon: true
|
|
element_wrapper_type: ''
|
|
element_wrapper_class: ''
|
|
element_default_classes: true
|
|
empty: ''
|
|
hide_empty: false
|
|
empty_zero: false
|
|
hide_alter_empty: true
|
|
click_sort_column: value
|
|
type: number_integer
|
|
settings:
|
|
thousand_separator: ''
|
|
prefix_suffix: true
|
|
group_column: value
|
|
group_columns: { }
|
|
group_rows: true
|
|
delta_limit: 0
|
|
delta_offset: 0
|
|
delta_reversed: false
|
|
delta_first_last: false
|
|
multi_type: separator
|
|
separator: ', '
|
|
field_api_classes: false
|
|
entity_type: oc_case
|
|
entity_field: id
|
|
plugin_id: field
|
|
name:
|
|
id: name
|
|
table: oc_case_field_data
|
|
field: name
|
|
relationship: none
|
|
group_type: group
|
|
admin_label: ''
|
|
label: 'Case Title'
|
|
exclude: false
|
|
alter:
|
|
alter_text: false
|
|
text: ''
|
|
make_link: true
|
|
path: ''
|
|
absolute: false
|
|
external: false
|
|
replace_spaces: false
|
|
path_case: none
|
|
trim_whitespace: false
|
|
alt: ''
|
|
rel: ''
|
|
link_class: ''
|
|
prefix: ''
|
|
suffix: foo
|
|
target: ''
|
|
nl2br: false
|
|
max_length: 0
|
|
word_boundary: true
|
|
ellipsis: true
|
|
more_link: false
|
|
more_link_text: ''
|
|
more_link_path: ''
|
|
strip_tags: false
|
|
trim: false
|
|
preserve_tags: ''
|
|
html: false
|
|
element_type: ''
|
|
element_class: ''
|
|
element_label_type: ''
|
|
element_label_class: ''
|
|
element_label_colon: true
|
|
element_wrapper_type: ''
|
|
element_wrapper_class: ''
|
|
element_default_classes: true
|
|
empty: ''
|
|
hide_empty: false
|
|
empty_zero: false
|
|
hide_alter_empty: true
|
|
click_sort_column: value
|
|
type: string
|
|
settings:
|
|
link_to_entity: false
|
|
group_column: value
|
|
group_columns: { }
|
|
group_rows: true
|
|
delta_limit: 0
|
|
delta_offset: 0
|
|
delta_reversed: false
|
|
delta_first_last: false
|
|
multi_type: separator
|
|
separator: ', '
|
|
field_api_classes: false
|
|
entity_type: null
|
|
entity_field: name
|
|
plugin_id: field
|
|
type:
|
|
id: type
|
|
table: oc_case_field_data
|
|
field: type
|
|
relationship: none
|
|
group_type: group
|
|
admin_label: ''
|
|
label: Type
|
|
exclude: false
|
|
alter:
|
|
alter_text: false
|
|
text: ''
|
|
make_link: false
|
|
path: ''
|
|
absolute: false
|
|
external: false
|
|
replace_spaces: false
|
|
path_case: none
|
|
trim_whitespace: false
|
|
alt: ''
|
|
rel: ''
|
|
link_class: ''
|
|
prefix: ''
|
|
suffix: ''
|
|
target: ''
|
|
nl2br: false
|
|
max_length: 0
|
|
word_boundary: true
|
|
ellipsis: true
|
|
more_link: false
|
|
more_link_text: ''
|
|
more_link_path: ''
|
|
strip_tags: false
|
|
trim: false
|
|
preserve_tags: ''
|
|
html: false
|
|
element_type: ''
|
|
element_class: ''
|
|
element_label_type: ''
|
|
element_label_class: ''
|
|
element_label_colon: true
|
|
element_wrapper_type: ''
|
|
element_wrapper_class: ''
|
|
element_default_classes: true
|
|
empty: ''
|
|
hide_empty: false
|
|
empty_zero: false
|
|
hide_alter_empty: true
|
|
click_sort_column: target_id
|
|
type: entity_reference_label
|
|
settings:
|
|
link: false
|
|
group_column: target_id
|
|
group_columns: { }
|
|
group_rows: true
|
|
delta_limit: 0
|
|
delta_offset: 0
|
|
delta_reversed: false
|
|
delta_first_last: false
|
|
multi_type: separator
|
|
separator: ', '
|
|
field_api_classes: false
|
|
entity_type: oc_case
|
|
entity_field: type
|
|
plugin_id: field
|
|
actors_involved_target_id:
|
|
id: actors_involved_target_id
|
|
table: oc_case__actors_involved
|
|
field: actors_involved_target_id
|
|
relationship: none
|
|
group_type: group
|
|
admin_label: ''
|
|
label: 'Involved Parties'
|
|
exclude: false
|
|
alter:
|
|
alter_text: false
|
|
text: ''
|
|
make_link: false
|
|
path: ''
|
|
absolute: false
|
|
external: false
|
|
replace_spaces: false
|
|
path_case: none
|
|
trim_whitespace: false
|
|
alt: ''
|
|
rel: ''
|
|
link_class: ''
|
|
prefix: ''
|
|
suffix: ''
|
|
target: ''
|
|
nl2br: false
|
|
max_length: 0
|
|
word_boundary: true
|
|
ellipsis: true
|
|
more_link: false
|
|
more_link_text: ''
|
|
more_link_path: ''
|
|
strip_tags: false
|
|
trim: false
|
|
preserve_tags: ''
|
|
html: false
|
|
element_type: ''
|
|
element_class: ''
|
|
element_label_type: ''
|
|
element_label_class: ''
|
|
element_label_colon: true
|
|
element_wrapper_type: ''
|
|
element_wrapper_class: ''
|
|
element_default_classes: true
|
|
empty: ''
|
|
hide_empty: false
|
|
empty_zero: false
|
|
hide_alter_empty: true
|
|
click_sort_column: target_id
|
|
type: entity_reference_label
|
|
settings:
|
|
link: true
|
|
group_column: target_id
|
|
group_columns: { }
|
|
group_rows: true
|
|
delta_limit: 0
|
|
delta_offset: 0
|
|
delta_reversed: false
|
|
delta_first_last: false
|
|
multi_type: separator
|
|
separator: ', '
|
|
field_api_classes: false
|
|
entity_type: oc_case
|
|
entity_field: actors_involved
|
|
plugin_id: field
|
|
created:
|
|
id: created
|
|
table: oc_case_field_data
|
|
field: created
|
|
relationship: none
|
|
group_type: group
|
|
admin_label: ''
|
|
label: Created
|
|
exclude: false
|
|
alter:
|
|
alter_text: false
|
|
text: ''
|
|
make_link: false
|
|
path: ''
|
|
absolute: false
|
|
external: false
|
|
replace_spaces: false
|
|
path_case: none
|
|
trim_whitespace: false
|
|
alt: ''
|
|
rel: ''
|
|
link_class: ''
|
|
prefix: ''
|
|
suffix: ''
|
|
target: ''
|
|
nl2br: false
|
|
max_length: 0
|
|
word_boundary: true
|
|
ellipsis: true
|
|
more_link: false
|
|
more_link_text: ''
|
|
more_link_path: ''
|
|
strip_tags: false
|
|
trim: false
|
|
preserve_tags: ''
|
|
html: false
|
|
element_type: ''
|
|
element_class: ''
|
|
element_label_type: ''
|
|
element_label_class: ''
|
|
element_label_colon: true
|
|
element_wrapper_type: ''
|
|
element_wrapper_class: ''
|
|
element_default_classes: true
|
|
empty: ''
|
|
hide_empty: false
|
|
empty_zero: false
|
|
hide_alter_empty: true
|
|
click_sort_column: value
|
|
type: timestamp
|
|
settings:
|
|
date_format: short
|
|
custom_date_format: ''
|
|
timezone: ''
|
|
group_column: value
|
|
group_columns: { }
|
|
group_rows: true
|
|
delta_limit: 0
|
|
delta_offset: 0
|
|
delta_reversed: false
|
|
delta_first_last: false
|
|
multi_type: separator
|
|
separator: ', '
|
|
field_api_classes: false
|
|
entity_type: oc_case
|
|
entity_field: created
|
|
plugin_id: field
|
|
nothing:
|
|
id: nothing
|
|
table: views
|
|
field: nothing
|
|
relationship: none
|
|
group_type: group
|
|
admin_label: ''
|
|
label: 'Go to'
|
|
exclude: false
|
|
alter:
|
|
alter_text: true
|
|
text: "<ul><li><a href='/opencase/oc_case/{{ id }}'>Details/Files</a></li>\n<li><a href='/opencase/oc_case/{{ id}}/activity_list'>Activities</a>\n</li></ul>"
|
|
make_link: false
|
|
path: ''
|
|
absolute: false
|
|
external: false
|
|
replace_spaces: false
|
|
path_case: none
|
|
trim_whitespace: false
|
|
alt: ''
|
|
rel: ''
|
|
link_class: ''
|
|
prefix: ''
|
|
suffix: ''
|
|
target: ''
|
|
nl2br: false
|
|
max_length: 0
|
|
word_boundary: true
|
|
ellipsis: true
|
|
more_link: false
|
|
more_link_text: ''
|
|
more_link_path: ''
|
|
strip_tags: false
|
|
trim: false
|
|
preserve_tags: ''
|
|
html: false
|
|
element_type: ''
|
|
element_class: ''
|
|
element_label_type: ''
|
|
element_label_class: ''
|
|
element_label_colon: true
|
|
element_wrapper_type: ''
|
|
element_wrapper_class: ''
|
|
element_default_classes: true
|
|
empty: ''
|
|
hide_empty: false
|
|
empty_zero: false
|
|
hide_alter_empty: false
|
|
plugin_id: custom
|
|
filters: { }
|
|
sorts:
|
|
created:
|
|
id: created
|
|
table: oc_case_field_data
|
|
field: created
|
|
relationship: none
|
|
group_type: group
|
|
admin_label: ''
|
|
order: DESC
|
|
exposed: false
|
|
expose:
|
|
label: ''
|
|
granularity: hour
|
|
entity_type: oc_case
|
|
entity_field: created
|
|
plugin_id: date
|
|
title: 'Case List'
|
|
header: { }
|
|
footer: { }
|
|
empty: { }
|
|
relationships: { }
|
|
arguments:
|
|
actors_involved_target_id:
|
|
id: actors_involved_target_id
|
|
table: oc_case__actors_involved
|
|
field: actors_involved_target_id
|
|
relationship: none
|
|
group_type: group
|
|
admin_label: ''
|
|
default_action: ignore
|
|
exception:
|
|
value: all
|
|
title_enable: false
|
|
title: All
|
|
title_enable: false
|
|
title: ''
|
|
default_argument_type: fixed
|
|
default_argument_options:
|
|
argument: ''
|
|
default_argument_skip_url: false
|
|
summary_options:
|
|
base_path: ''
|
|
count: true
|
|
items_per_page: 25
|
|
override: false
|
|
summary:
|
|
sort_order: asc
|
|
number_of_records: 0
|
|
format: default_summary
|
|
specify_validation: false
|
|
validate:
|
|
type: none
|
|
fail: 'not found'
|
|
validate_options: { }
|
|
break_phrase: false
|
|
not: false
|
|
entity_type: oc_case
|
|
entity_field: actors_involved
|
|
plugin_id: numeric
|
|
display_extenders: { }
|
|
cache_metadata:
|
|
max-age: -1
|
|
contexts:
|
|
- 'languages:language_content'
|
|
- 'languages:language_interface'
|
|
- url
|
|
- user.roles
|
|
tags: { }
|
|
page_1:
|
|
display_plugin: page
|
|
id: page_1
|
|
display_title: Page
|
|
position: 1
|
|
display_options:
|
|
display_extenders: { }
|
|
path: opencase/oc_actor/%actor_id/case_list
|
|
cache_metadata:
|
|
max-age: -1
|
|
contexts:
|
|
- 'languages:language_content'
|
|
- 'languages:language_interface'
|
|
- url
|
|
- user.roles
|
|
tags: { }
|