Forráskód Böngészése

admin can manage orders

bach 2 éve
szülő
commit
5c90a44da4

+ 2 - 0
config/sync/commerce_order.commerce_order_type.materio_order_type.yml

@@ -9,11 +9,13 @@ third_party_settings:
   commerce_cart:
     cart_form_view: commerce_cart_form
     cart_block_view: commerce_cart_block
+    cart_expiration: {  }
   commerce_checkout:
     checkout_flow: materio_checkout_flow
 label: 'materio order type'
 id: materio_order_type
 workflow: order_default
+numberPattern: order_default
 refresh_mode: customer
 refresh_frequency: 300
 sendReceipt: true

+ 4 - 0
config/sync/core.entity_view_display.commerce_store.online.default.yml

@@ -23,8 +23,12 @@ content:
 hidden:
   billing_countries: true
   default_currency: true
+  is_default: true
   langcode: true
   mail: true
   name: true
   prices_include_tax: true
+  search_api_excerpt: true
   tax_registrations: true
+  timezone: true
+  uid: true

+ 9 - 0
config/sync/user.role.admin.yml

@@ -12,6 +12,7 @@ permissions:
   - 'access administration pages'
   - 'access any corpus_documents workflow_transion overview'
   - 'access any generique workflow_transion overview'
+  - 'access commerce administration pages'
   - 'access commerce_license overview'
   - 'access commerce_order overview'
   - 'access commerce_product overview'
@@ -23,17 +24,21 @@ permissions:
   - 'access toolbar'
   - 'access user profiles'
   - 'add flag lists'
+  - 'administer commerce_license'
   - 'administer commerce_order'
+  - 'administer commerce_payment'
   - 'administer newsletters'
   - 'administer productions menu items'
   - 'administer simplenews subscriptions'
   - 'administer synonyms'
   - 'administer users'
   - 'break content lock'
+  - 'cancel any commerce_subscription'
   - 'change own username'
   - 'create article content'
   - 'create commerce_license'
   - 'create commerce_promotion'
+  - 'create commerce_subscription'
   - 'create content translations'
   - 'create corpus_documents workflow_transition'
   - 'create defalut workflow_transition'
@@ -159,6 +164,7 @@ permissions:
   - 'translate thesaurus taxonomy_term'
   - 'unflag dossier other items'
   - 'update any commerce_license'
+  - 'update any commerce_subscription'
   - 'update any materio_product_type commerce_product'
   - 'update any online commerce_store'
   - 'update commerce_promotion'
@@ -168,10 +174,13 @@ permissions:
   - 'use text format wysiwyg'
   - 'view all login histories'
   - 'view any commerce_license'
+  - 'view any commerce_subscription'
   - 'view any contact_company profile'
   - 'view any member profile'
   - 'view article revisions'
   - 'view autre_son revisions'
+  - 'view commerce_billing_schedule'
+  - 'view commerce_order'
   - 'view commerce_promotion'
   - 'view contact_company profile'
   - 'view enregistrement revisions'