From 45379fd9889961c9c3d2289a9d14bda58d4a0502 Mon Sep 17 00:00:00 2001 From: bach Date: Thu, 17 Nov 2022 12:40:18 +0100 Subject: [PATCH] fixed licenses display in admin user view --- config/sync/user.role.admin.yml | 1 + config/sync/views.view.admin_users.yml | 46 ++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/config/sync/user.role.admin.yml b/config/sync/user.role.admin.yml index 5aae0cc5..62b5d5c7 100644 --- a/config/sync/user.role.admin.yml +++ b/config/sync/user.role.admin.yml @@ -75,6 +75,7 @@ permissions: - 'access user profiles' - 'add commerce_log commerce_order admin comment' - 'add flag lists' + - 'administer commerce_license' - 'administer commerce_order' - 'administer commerce_payment' - 'administer commerce_subscription' diff --git a/config/sync/views.view.admin_users.yml b/config/sync/views.view.admin_users.yml index b2f7e9fb..9ce5e448 100644 --- a/config/sync/views.view.admin_users.yml +++ b/config/sync/views.view.admin_users.yml @@ -40,6 +40,7 @@ dependencies: - rest - role_expire - serialization + - state_machine - taxonomy - telephone_formatter - user @@ -3703,6 +3704,51 @@ display: default_group: All default_group_multiple: { } group_items: { } + state: + id: state + table: commerce_license + field: state + relationship: reverse__commerce_license__uid + group_type: group + admin_label: '' + entity_type: commerce_license + entity_field: state + plugin_id: state_machine_state + operator: in + value: + new: new + pending: pending + active: active + renewal_in_progress: renewal_in_progress + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + operator_limit_selection: false + operator_list: { } + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + reduce: false + 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: operator: AND groups: