Administration • Capacity for us to have access to certain variables via Administration

This commit is contained in:
naomi 2022-04-21 11:37:01 +01:00
parent 651e1e80b9
commit 3f072cefc2
6 changed files with 552 additions and 2 deletions

View File

@ -23,5 +23,59 @@ definitions:
parent: ''
expanded: false
enabled: true
'opencase__manage_taxonomy_links:client_status':
enabled: false
menu_name: opencase
parent: opencase.opencase_admin_menu
expanded: false
weight: 0
'opencase__manage_taxonomy_links:clie':
enabled: false
menu_name: opencase
parent: opencase.opencase_admin_menu
weight: 0
expanded: false
'opencase__manage_taxonomy_links:client_subtypes':
enabled: false
menu_name: opencase
parent: opencase.opencase_admin_menu
weight: 0
expanded: false
'opencase__manage_taxonomy_links:client_types':
enabled: false
menu_name: opencase
parent: opencase.opencase_admin_menu
weight: 0
expanded: false
'opencase__see_all_organisations_links:client':
enabled: false
menu_name: opencase
parent: opencase.see_all
expanded: false
weight: 0
'opencase__see_all_organisations_links:partner_organisation':
enabled: false
menu_name: opencase
parent: opencase.see_all
weight: 0
expanded: false
'opencase__see_all_people_links:trainer':
enabled: false
menu_name: opencase
parent: opencase.see_all
weight: 0
expanded: false
'opencase__see_all_organisations_links:umbrella_client':
enabled: false
menu_name: opencase
parent: opencase.see_all
weight: 0
expanded: false
'opencase__manage_taxonomy_links:oc_case_provider_role':
enabled: false
menu_name: opencase
parent: opencase.opencase_admin_menu
expanded: false
weight: 0
_core:
default_config_hash: o4bYR9ZupWb3AsOIizTUG4g-nu1mdJqA59UB7QT-ifQ

View File

@ -13,7 +13,9 @@ label: Rate
description: ''
required: false
translatable: false
default_value: { }
default_value:
-
value: !!float 120
default_value_callback: ''
settings:
min: null

View File

@ -17,7 +17,7 @@ required: false
translatable: false
default_value:
-
value: custom
value: standard
default_value_callback: ''
settings: { }
field_type: list_string

View File

@ -2,10 +2,19 @@ uuid: 1b23a802-601d-4d00-8818-392b5e496f9d
langcode: en
status: true
dependencies:
config:
- taxonomy.vocabulary.clie
- taxonomy.vocabulary.client_status
- taxonomy.vocabulary.client_subtypes
- taxonomy.vocabulary.client_types
- taxonomy.vocabulary.oc_case_provider_role
- taxonomy.vocabulary.oc_fee_category
- taxonomy.vocabulary.tags
module:
- opencase
- opencase_cases
- opencase_entities
- taxonomy
id: gno_admin_user
label: 'GNO Additional Admin Permissions'
weight: 4
@ -15,7 +24,15 @@ permissions:
- 'add case fee entities'
- 'add case provision entities'
- 'add equal opps entities'
- 'administer taxonomy'
- 'administer users'
- 'create terms in clie'
- 'create terms in client_status'
- 'create terms in client_subtypes'
- 'create terms in client_types'
- 'create terms in oc_case_provider_role'
- 'create terms in oc_fee_category'
- 'create terms in tags'
- 'delete activity entities'
- 'delete all trainer revisions'
- 'delete bank account entities'
@ -25,11 +42,21 @@ permissions:
- 'delete equal opps entities'
- 'delete event entities'
- 'delete organisation entities'
- 'delete terms in client_subtypes'
- 'delete terms in client_types'
- 'delete terms in oc_case_provider_role'
- 'delete terms in oc_fee_category'
- 'delete terms in tags'
- 'delete trainer entities'
- 'edit case entities'
- 'edit case fee entities'
- 'edit case provision entities'
- 'edit equal opps entities'
- 'edit terms in client_subtypes'
- 'edit terms in client_types'
- 'edit terms in oc_case_provider_role'
- 'edit terms in oc_fee_category'
- 'edit terms in tags'
- 'use opencase'
- 'view all case fee revisions'
- 'view all case provision revisions'

View File

@ -0,0 +1,240 @@
uuid: 3c5bb2b8-402b-4876-a243-b05c20976cb3
langcode: en
status: true
dependencies:
config:
- user.role.authenticated
module:
- opencase_entities
- user
id: actors
label: Actors
module: views
description: ''
tag: ''
base_table: oc_actor_field_data
base_field: id
display:
default:
id: default
display_title: Default
display_plugin: default
position: 0
display_options:
fields:
name:
id: name
table: oc_actor_field_data
field: name
relationship: none
group_type: group
admin_label: ''
entity_type: oc_actor
entity_field: name
plugin_id: field
label: Name
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: string
settings:
link_to_entity: 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
pager:
type: mini
options:
offset: 0
items_per_page: 10
total_pages: null
id: 0
tags:
next:
previous:
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
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:
authenticated: authenticated
cache:
type: tag
options: { }
empty: { }
sorts: { }
arguments:
type:
id: type
table: oc_actor_field_data
field: type
relationship: none
group_type: group
admin_label: ''
entity_type: oc_actor
entity_field: type
plugin_id: string
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: true
title: '{{ arguments.type }} '
default_argument_type: raw
default_argument_options:
index: 1
use_alias: false
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
glossary: false
limit: 0
case: none
path_case: none
transform_dash: false
break_phrase: false
filters: { }
style:
type: table
options:
grouping: { }
row_class: ''
default_row_class: true
columns:
name: name
default: '-1'
info:
name:
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: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user.roles
tags: { }
page_1:
id: page_1
display_title: Actors
display_plugin: page
position: 1
display_options:
display_description: ''
display_extenders: { }
path: opencase/actors/%type
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user.roles
tags: { }

View File

@ -0,0 +1,227 @@
uuid: a0a32301-1ab4-46e5-8fc0-e0060e36d3e8
langcode: en
status: true
dependencies:
config:
- user.role.authenticated
module:
- opencase_entities
- user
id: organisations
label: organisations
module: views
description: ''
tag: ''
base_table: oc_organisation_field_data
base_field: id
display:
default:
id: default
display_title: Default
display_plugin: default
position: 0
display_options:
title: organisations
fields:
name:
id: name
table: oc_organisation_field_data
field: name
relationship: none
group_type: group
admin_label: ''
entity_type: null
entity_field: name
plugin_id: field
label: Name
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: string
settings:
link_to_entity: 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
pager:
type: mini
options:
offset: 0
items_per_page: 10
total_pages: null
id: 0
tags:
next:
previous:
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
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:
authenticated: authenticated
cache:
type: tag
options: { }
empty: { }
sorts: { }
arguments:
type:
id: type
table: oc_organisation_field_data
field: type
relationship: none
group_type: group
admin_label: ''
entity_type: oc_organisation
entity_field: type
plugin_id: string
default_action: default
exception:
value: all
title_enable: false
title: All
title_enable: true
title: '{{ arguments.type }}'
default_argument_type: raw
default_argument_options:
index: 1
use_alias: false
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: false
validate:
type: none
fail: 'not found'
validate_options: { }
glossary: false
limit: 0
case: none
path_case: none
transform_dash: false
break_phrase: false
filters:
status:
id: status
table: oc_organisation_field_data
field: status
entity_type: oc_organisation
entity_field: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
operator_limit_selection: false
operator_list: { }
style:
type: table
row:
type: fields
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
header: { }
footer: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user.roles
tags: { }
page_1:
id: page_1
display_title: Page
display_plugin: page
position: 1
display_options:
display_extenders: { }
path: organisations/%type
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user.roles
tags: { }