admin can access and edit subscriptions

This commit is contained in:
Bachir Soussi Chiadmi 2022-09-21 17:13:17 +02:00
parent 2f6560b88a
commit 895be04b6b
4 changed files with 263 additions and 18 deletions

View File

@ -1,3 +1,16 @@
blocks:
-
info: contact
langcode: en
uuid: e202a879-0a6d-4819-a171-15dfac8d7567
bundle: simple_text
revision_id: null
rev_id_current: null
fields:
field_content:
-
value: "<p>contact <a href=\"mailto:hello@materio.com\" title=\"hello@materio.com\">hello@materio.com</a> | developed by&nbsp;<a href=\"https://figureslibres.cc/\" rel=\"noopener\" target=\"_blank\" title=\"figureslibres.cc\">figureslibres.cc</a></p>\r\n"
format: wysiwyg
menus: menus:
- -
menu_name: header menu_name: header
@ -56,7 +69,7 @@ menus:
description: null description: null
enabled: '1' enabled: '1'
expanded: '0' expanded: '0'
weight: '-50' weight: '-49'
langcode: en langcode: en
uuid: 27e5f4e1-1ea7-425e-aabb-81404d40a864 uuid: 27e5f4e1-1ea7-425e-aabb-81404d40a864
- -
@ -104,19 +117,18 @@ menus:
description: null description: null
enabled: '1' enabled: '1'
expanded: '0' expanded: '0'
weight: '-49' weight: '-50'
langcode: en langcode: en
uuid: 5b14e014-7aba-4e1b-a619-45177584cf80 uuid: 5b14e014-7aba-4e1b-a619-45177584cf80
blocks:
- -
info: contact menu_name: editors
title: Subscriptions
parent: editors_menus.commerce
uri: 'internal:/admin/commerce/subscriptions'
link_title: ''
description: null
enabled: '1'
expanded: '0'
weight: '-45'
langcode: en langcode: en
uuid: e202a879-0a6d-4819-a171-15dfac8d7567 uuid: b87ef278-a92a-47b5-adc2-2bea12fd9b07
bundle: simple_text
revision_id: null
rev_id_current: null
fields:
field_content:
-
value: "<p>contact <a href=\"mailto:hello@materio.com\" title=\"hello@materio.com\">hello@materio.com</a> | developed by&nbsp;<a href=\"https://figureslibres.cc/\" rel=\"noopener\" target=\"_blank\" title=\"figureslibres.cc\">figureslibres.cc</a></p>\r\n"
format: wysiwyg

View File

@ -64,6 +64,7 @@ permissions:
- 'access commerce_license overview' - 'access commerce_license overview'
- 'access commerce_order overview' - 'access commerce_order overview'
- 'access commerce_product overview' - 'access commerce_product overview'
- 'access commerce_subscription overview'
- 'access files overview' - 'access files overview'
- 'access materio search' - 'access materio search'
- 'access profile overview' - 'access profile overview'
@ -76,6 +77,7 @@ permissions:
- 'administer commerce_license' - 'administer commerce_license'
- 'administer commerce_order' - 'administer commerce_order'
- 'administer commerce_payment' - 'administer commerce_payment'
- 'administer commerce_subscription'
- 'administer newsletters' - 'administer newsletters'
- 'administer nodes' - 'administer nodes'
- 'administer simplenews subscriptions' - 'administer simplenews subscriptions'

View File

@ -469,7 +469,7 @@ display:
click_sort_column: value click_sort_column: value
type: timestamp type: timestamp
settings: settings:
date_format: custom date_format: short
custom_date_format: 'M jS Y H:i:s' custom_date_format: 'M jS Y H:i:s'
timezone: '' timezone: ''
group_column: value group_column: value
@ -536,7 +536,7 @@ display:
click_sort_column: value click_sort_column: value
type: timestamp type: timestamp
settings: settings:
date_format: custom date_format: short
custom_date_format: 'M jS Y H:i:s' custom_date_format: 'M jS Y H:i:s'
timezone: '' timezone: ''
group_column: value group_column: value
@ -625,7 +625,7 @@ display:
type: basic type: basic
options: options:
submit_button: Apply submit_button: Apply
reset_button: false reset_button: true
reset_button_label: Reset reset_button_label: Reset
exposed_sorts_label: 'Sort by' exposed_sorts_label: 'Sort by'
expose_sort_order: true expose_sort_order: true
@ -698,6 +698,58 @@ display:
default_group: All default_group: All
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
mail:
id: mail
table: users_field_data
field: mail
relationship: uid
group_type: group
admin_label: ''
entity_type: user
entity_field: mail
plugin_id: string
operator: contains
value: ''
group: 1
exposed: true
expose:
operator_id: mail_op
label: Courriel
description: ''
use_operator: false
operator: mail_op
operator_limit_selection: false
operator_list: { }
identifier: mail
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
unverified: '0'
anonymous: '0'
free_user: '0'
contact_company: '0'
alpha_testeur: '0'
student: '0'
adherent: '0'
translator: '0'
admin_showroom: '0'
admin: '0'
root: '0'
placeholder: ''
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
state: state:
id: state id: state
table: commerce_subscription table: commerce_subscription
@ -741,6 +793,122 @@ display:
default_group: All default_group: All
default_group_multiple: { } default_group_multiple: { }
group_items: { } group_items: { }
starts:
id: starts
table: commerce_subscription
field: starts
relationship: none
group_type: group
admin_label: ''
entity_type: commerce_subscription
entity_field: starts
plugin_id: date
operator: between
value:
min: ''
max: ''
value: ''
type: date
group: 1
exposed: true
expose:
operator_id: starts_op
label: Starts
description: ''
use_operator: false
operator: starts_op
operator_limit_selection: false
operator_list: { }
identifier: starts
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
unverified: '0'
anonymous: '0'
free_user: '0'
contact_company: '0'
alpha_testeur: '0'
student: '0'
adherent: '0'
translator: '0'
admin_showroom: '0'
admin: '0'
root: '0'
min_placeholder: 'AAAA-MM-JJ HH:MM:SS'
max_placeholder: 'AAAA-MM-JJ HH:MM:SS'
placeholder: ''
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
ends:
id: ends
table: commerce_subscription
field: ends
relationship: none
group_type: group
admin_label: ''
entity_type: commerce_subscription
entity_field: ends
plugin_id: date
operator: between
value:
min: ''
max: ''
value: ''
type: date
group: 1
exposed: true
expose:
operator_id: ends_op
label: Ends
description: ''
use_operator: false
operator: ends_op
operator_limit_selection: false
operator_list: { }
identifier: ends
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
unverified: '0'
anonymous: '0'
free_user: '0'
contact_company: '0'
alpha_testeur: '0'
student: '0'
adherent: '0'
translator: '0'
admin_showroom: '0'
admin: '0'
root: '0'
min_placeholder: 'AAAA-MM-JJ HH:MM:SS'
max_placeholder: 'AAAA-MM-JJ HH:MM:SS'
placeholder: ''
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
filter_groups: filter_groups:
operator: AND operator: AND
groups: groups:
@ -854,7 +1022,70 @@ display:
required: false required: false
header: { } header: { }
footer: { } footer: { }
display_extenders: { } display_extenders:
views_ef_fieldset:
views_ef_fieldset:
enabled: 0
options:
sort:
root:
container_type: details
title: Filtres
description: ''
open: '1'
weight: '0'
id: root
pid: ''
depth: '0'
type: container
uid:
weight: '-6'
id: uid
pid: root
depth: '1'
type: filter
state:
weight: '-6'
id: state
pid: root
depth: '1'
type: filter
submit:
weight: '-6'
id: submit
pid: root
depth: '1'
type: buttons
container-0:
container_type: details
title: 'Container 0'
description: ''
weight: '-5'
open: 0
id: container-0
pid: root
depth: '1'
type: container
container-1:
container_type: details
title: 'Container 1'
description: ''
weight: '-4'
open: 0
id: container-1
pid: root
depth: '1'
type: container
container-2:
container_type: details
title: 'Container 2'
description: ''
weight: '-3'
open: 0
id: container-2
pid: root
depth: '1'
type: container
cache_metadata: cache_metadata:
max-age: -1 max-age: -1
contexts: contexts:

View File

@ -1241,7 +1241,7 @@ display:
type: normal type: normal
title: Licences title: Licences
description: '' description: ''
weight: 3 weight: -44
expanded: false expanded: false
menu_name: editors menu_name: editors
parent: editors_menus.commerce parent: editors_menus.commerce