activities config and user role stuff

This commit is contained in:
naomi 2022-07-10 14:25:23 +01:00
parent 3ad6643692
commit c03683d819
13 changed files with 84 additions and 96 deletions

View File

@ -25,7 +25,7 @@ content:
label: above
settings: { }
third_party_settings: { }
weight: 5
weight: 4
region: content
name:
type: string
@ -33,17 +33,9 @@ content:
settings:
link_to_entity: false
third_party_settings: { }
weight: 4
region: content
oc_provider:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 2
region: content
oc_target:
oc_provider:
type: entity_reference_label
label: above
settings:
@ -63,6 +55,7 @@ content:
weight: 3
region: content
hidden:
oc_target: true
search_api_excerpt: true
status: true
user_id: true

View File

@ -25,7 +25,7 @@ content:
label: above
settings: { }
third_party_settings: { }
weight: 5
weight: 4
region: content
name:
type: string
@ -33,17 +33,9 @@ content:
settings:
link_to_entity: false
third_party_settings: { }
weight: 4
region: content
oc_provider:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 2
region: content
oc_target:
oc_provider:
type: entity_reference_label
label: above
settings:
@ -63,6 +55,7 @@ content:
weight: 3
region: content
hidden:
oc_target: true
search_api_excerpt: true
status: true
user_id: true

View File

@ -39,14 +39,14 @@ content:
scale: 2
prefix_suffix: true
third_party_settings: { }
weight: 5
weight: 4
region: content
field_funds_for:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 4
weight: 3
region: content
name:
type: string
@ -54,17 +54,9 @@ content:
settings:
link_to_entity: false
third_party_settings: { }
weight: 3
weight: 2
region: content
oc_provider:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 2
region: content
oc_target:
type: entity_reference_label
label: above
settings:
@ -72,8 +64,19 @@ content:
third_party_settings: { }
weight: 1
region: content
time_taken:
type: number_decimal
label: above
settings:
thousand_separator: ''
decimal_separator: .
scale: 2
prefix_suffix: true
third_party_settings: { }
weight: 5
region: content
hidden:
oc_target: true
search_api_excerpt: true
status: true
time_taken: true
user_id: true

View File

@ -29,7 +29,7 @@ content:
region: content
name:
type: string
label: above
label: hidden
settings:
link_to_entity: false
third_party_settings: { }

View File

@ -29,21 +29,13 @@ content:
region: content
name:
type: string
label: above
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 3
weight: 2
region: content
oc_provider:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 2
region: content
oc_target:
type: entity_reference_label
label: above
settings:
@ -51,8 +43,19 @@ content:
third_party_settings: { }
weight: 1
region: content
time_taken:
type: number_decimal
label: above
settings:
thousand_separator: ''
decimal_separator: .
scale: 2
prefix_suffix: true
third_party_settings: { }
weight: 3
region: content
hidden:
oc_target: true
search_api_excerpt: true
status: true
time_taken: true
user_id: true

View File

@ -29,21 +29,13 @@ content:
region: content
name:
type: string
label: above
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 3
weight: 2
region: content
oc_provider:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 2
region: content
oc_target:
type: entity_reference_label
label: above
settings:
@ -51,8 +43,19 @@ content:
third_party_settings: { }
weight: 1
region: content
time_taken:
type: number_decimal
label: above
settings:
thousand_separator: ''
decimal_separator: .
scale: 2
prefix_suffix: true
third_party_settings: { }
weight: 3
region: content
hidden:
oc_target: true
search_api_excerpt: true
status: true
time_taken: true
user_id: true

View File

@ -29,7 +29,7 @@ content:
region: content
name:
type: string
label: above
label: hidden
settings:
link_to_entity: false
third_party_settings: { }

View File

@ -8,7 +8,7 @@ slogan: ''
page:
403: /user/login
404: ''
front: /opencase/actors/client
front: /opencase/my-cases
admin_compact_mode: false
weight_select_max: 100
default_langcode: en

View File

@ -26,43 +26,12 @@ permissions:
- 'access shortcuts'
- 'access site-wide contact form'
- 'add activity entities'
- 'add case entities'
- 'add client entities'
- 'add equal opps entities'
- 'add event entities'
- 'add organisation entities'
- 'add staff_member entities'
- 'add volunteer entities'
- 'edit activity entities'
- 'edit bank account entities'
- 'edit case entities'
- 'edit client entities'
- 'edit equal opps entities'
- 'edit event entities'
- 'edit organisation entities'
- 'edit staff_member entities'
- 'edit volunteer entities'
- 'post comments'
- 'revert all activity revisions'
- 'revert all client revisions'
- 'revert all organisation revisions'
- 'revert all staff_member revisions'
- 'revert all volunteer revisions'
- 'search content'
- 'skip comment approval'
- 'use opencase'
- 'use text format basic_html'
- 'view all activity revisions'
- 'view all client revisions'
- 'view all organisation revisions'
- 'view all staff_member revisions'
- 'view all volunteer revisions'
- 'view published activity entities'
- 'view published case provision entities'
- 'view published client entities'
- 'view published equal opps entities'
- 'view published event entities'
- 'view published organisation entities'
- 'view published organisation relation entities'
- 'view published staff_member entities'
- 'view published volunteer entities'

View File

@ -3,7 +3,10 @@ langcode: en
status: true
dependencies:
config:
- user.role.authenticated
- user.role.administrator
- user.role.opencase_admin
- user.role.overseer
- user.role.volunteer_co_ord
module:
- opencase_entities
- user
@ -186,7 +189,10 @@ display:
type: role
options:
role:
authenticated: authenticated
administrator: administrator
overseer: overseer
volunteer_co_ord: volunteer_co_ord
opencase_admin: opencase_admin
cache:
type: tag
options: { }

View File

@ -4,7 +4,10 @@ status: true
dependencies:
config:
- system.menu.opencase
- user.role.authenticated
- user.role.administrator
- user.role.opencase_admin
- user.role.overseer
- user.role.volunteer_co_ord
module:
- opencase_cases
- user
@ -318,7 +321,10 @@ display:
type: role
options:
role:
authenticated: authenticated
administrator: administrator
overseer: overseer
volunteer_co_ord: volunteer_co_ord
opencase_admin: opencase_admin
cache:
type: tag
options: { }

View File

@ -3,7 +3,10 @@ langcode: en
status: true
dependencies:
config:
- user.role.authenticated
- user.role.administrator
- user.role.opencase_admin
- user.role.overseer
- user.role.volunteer_co_ord
module:
- opencase_entities
- user
@ -120,7 +123,10 @@ display:
type: role
options:
role:
authenticated: authenticated
administrator: administrator
overseer: overseer
volunteer_co_ord: volunteer_co_ord
opencase_admin: opencase_admin
cache:
type: tag
options: { }

View File

@ -3,7 +3,10 @@ langcode: en
status: true
dependencies:
config:
- user.role.authenticated
- user.role.administrator
- user.role.opencase_admin
- user.role.overseer
- user.role.volunteer_co_ord
module:
- opencase_entities
- user
@ -120,7 +123,10 @@ display:
type: role
options:
role:
authenticated: authenticated
administrator: administrator
overseer: overseer
volunteer_co_ord: volunteer_co_ord
opencase_admin: opencase_admin
cache:
type: tag
options: { }