solidus_backend 2.11.2 → 2.11.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of solidus_backend might be problematic. Click here for more details.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cff51310e9c979590ce028d47a2ade2d4f5bd6d2f1e27f3caed79654d2128c98
|
4
|
+
data.tar.gz: 86ad8a72ef9e123905882a3137605f80349d821bd1d15becf0f314538a6aa69f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f256f85b420c0dc13d811db50df72ed7cd53267d4d11c730ac1099a20d939e03c1970c2017229935a023c85b03ed870d8207355f1c092017c4669fe03f2da54
|
7
|
+
data.tar.gz: e9f17702ec6cfe6692ef13c8c63037137517ffc162c67b6d1d698f805e8f8271a9f3985532e8fe217d3bd2db5c6ae6734aa6e580e8cdefb32e8bce0811d7a7e8
|
@@ -84,7 +84,7 @@
|
|
84
84
|
|
85
85
|
<%= link_to_clone product, no_text: true, class: 'clone' if can?(:clone, product) %>
|
86
86
|
|
87
|
-
<%= link_to_delete product, no_text: true if can?(:
|
87
|
+
<%= link_to_delete product, no_text: true if can?(:destroy, product) && !product.deleted? %>
|
88
88
|
</td>
|
89
89
|
</tr>
|
90
90
|
<% end %>
|
@@ -3,24 +3,24 @@
|
|
3
3
|
<%= tab :stores, label: :stores, url: spree.admin_stores_path %>
|
4
4
|
<% end %>
|
5
5
|
|
6
|
-
<% if can?(:
|
6
|
+
<% if can?(:admin, Spree::PaymentMethod) %>
|
7
7
|
<%= tab :payments, url: spree.admin_payment_methods_path %>
|
8
8
|
<% end %>
|
9
9
|
|
10
|
-
<% if can?(:
|
10
|
+
<% if can?(:admin, Spree::TaxCategory) || can?(:admin, Spree::TaxRate) %>
|
11
11
|
<%= tab :taxes, url: spree.admin_tax_categories_path, match_path: %r(tax_categories|tax_rates) %>
|
12
12
|
<% end %>
|
13
13
|
|
14
|
-
<% if can?(:
|
14
|
+
<% if can?(:admin, Spree::RefundReason) || can?(:admin, Spree::ReimbursementType) ||
|
15
15
|
can?(:show, Spree::ReturnReason) || can?(:show, Spree::AdjustmentReason) %>
|
16
16
|
<%= tab :checkout, url: spree.admin_refund_reasons_path, match_path: %r(refund_reasons|reimbursement_types|return_reasons|adjustment_reasons|store_credit_reasons) %>
|
17
17
|
<% end %>
|
18
18
|
|
19
|
-
<% if can?(:
|
19
|
+
<% if can?(:admin, Spree::ShippingMethod) || can?(:admin, Spree::ShippingCategory) || can?(:admin, Spree::StockLocation) %>
|
20
20
|
<%= tab :shipping, url: spree.admin_shipping_methods_path, match_path: %r(shipping_methods|shipping_categories|stock_locations) %>
|
21
21
|
<% end %>
|
22
22
|
|
23
|
-
<% if can?(:
|
23
|
+
<% if can?(:admin, Spree::Zone) %>
|
24
24
|
<%= tab :zones, url: spree.admin_zones_path %>
|
25
25
|
<% end %>
|
26
26
|
</ul>
|
@@ -56,7 +56,7 @@
|
|
56
56
|
<span><%= t store_credit.invalidated? ? 'spree.say_yes' : 'spree.say_no' %></span>
|
57
57
|
</td>
|
58
58
|
<td class="actions" data-hook="admin_store_credits_index_row_actions">
|
59
|
-
<% if can?(:
|
59
|
+
<% if can?(:edit, store_credit) %>
|
60
60
|
<%= link_to_edit_url admin_user_store_credit_path(@user, store_credit), { no_text: true, class: 'edit' } %>
|
61
61
|
<% end %>
|
62
62
|
</td>
|
@@ -133,17 +133,17 @@ module Spree
|
|
133
133
|
'wrench',
|
134
134
|
condition: -> {
|
135
135
|
can?(:admin, Spree::Store) ||
|
136
|
-
can?(:
|
137
|
-
can?(:
|
138
|
-
can?(:
|
139
|
-
can?(:
|
140
|
-
can?(:
|
141
|
-
can?(:
|
142
|
-
can?(:
|
143
|
-
can?(:
|
144
|
-
can?(:
|
145
|
-
can?(:
|
146
|
-
can?(:
|
136
|
+
can?(:admin, Spree::AdjustmentReason) ||
|
137
|
+
can?(:admin, Spree::PaymentMethod) ||
|
138
|
+
can?(:admin, Spree::RefundReason) ||
|
139
|
+
can?(:admin, Spree::ReimbursementType) ||
|
140
|
+
can?(:admin, Spree::ShippingCategory) ||
|
141
|
+
can?(:admin, Spree::ShippingMethod) ||
|
142
|
+
can?(:admin, Spree::StockLocation) ||
|
143
|
+
can?(:admin, Spree::TaxCategory) ||
|
144
|
+
can?(:admin, Spree::TaxRate) ||
|
145
|
+
can?(:admin, Spree::ReturnReason) ||
|
146
|
+
can?(:admin, Spree::Zone)
|
147
147
|
},
|
148
148
|
label: :settings,
|
149
149
|
partial: 'spree/admin/shared/settings_sub_menu',
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_backend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.11.
|
4
|
+
version: 2.11.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Solidus Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: solidus_api
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.11.
|
19
|
+
version: 2.11.3
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.11.
|
26
|
+
version: 2.11.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: solidus_core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.11.
|
33
|
+
version: 2.11.3
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.11.
|
40
|
+
version: 2.11.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: coffee-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|