solidus_backend 3.2.4 → 3.2.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5b86594eac44c015e9c7d6c206ce3c15086baa96db0338ccb845e026b9d61c0d
4
- data.tar.gz: 388007e9b8b1dc8fe7ac3c04af96d60bb06d44fbddc0cd84919aaae65a7b5497
3
+ metadata.gz: c4f168ce9df9e5114355c4ae9fc5dc5da2559a339777c08e9dcb58f0cd1f0ccf
4
+ data.tar.gz: fbcd1ca044d19b1f7e744d96e49af4e199e4da73503784acfee55acb0320621a
5
5
  SHA512:
6
- metadata.gz: a1005b2bed74bc5c3fe9c20bf964aa5c73a96fe45f751752751a1f17f8f18fef03c695cc911d4e6e72f7381aad45399f5a63f188316931bea22bd8db3079e3bf
7
- data.tar.gz: 5c98470d7f898b841413275bb8296f4c4ed50263c995696b3baf5b8be0ac98e4dbaeb82022b18833facfffd082d5c002fd86bf7c12d81e925c41dbd3d9b01677
6
+ metadata.gz: 83dadf2d57dacccf8bebd48ea2d33f61717d573f27ff365d0bd77c3d4dafb162888feb4dbe32439c322204a1f6d0fd9be9da26bde10f325768752fc088bba9ac
7
+ data.tar.gz: 5447bd0787675d46ceaaffd91ddb931a25ba86c98c476afe315bf4aeaf183506c614fb2ffcf54197893cbe9b3c15a83a5ca51af0ab494b9515527bcc4dedc784
@@ -36,7 +36,7 @@
36
36
  </tbody>
37
37
  </table>
38
38
 
39
- <% if can?([:create, :update], Spree::ProductProperty) %>
39
+ <% if can?(:create, Spree::ProductProperty) && can?(:update, Spree::ProductProperty) %>
40
40
  <%= render 'spree/admin/shared/edit_resource_links' %>
41
41
  <% end %>
42
42
 
@@ -95,7 +95,7 @@
95
95
  <% end %>
96
96
  </tbody>
97
97
  </table>
98
- <% if can?([:create, :update], Spree::VariantPropertyRule) %>
98
+ <% if can?(:create, Spree::VariantPropertyRule) && can?(:update, Spree::VariantPropertyRule) %>
99
99
  <%= render 'spree/admin/shared/edit_resource_links' %>
100
100
  <% end %>
101
101
  </fieldset>
@@ -1,5 +1,5 @@
1
1
  <% content_for :page_actions do %>
2
- <% if can?([:admin, :create], Spree::Order) %>
2
+ <% if can?(:admin, Spree::Order) && can?(:create, Spree::Order) %>
3
3
  <li>
4
4
  <%= link_to t(".create_order"), spree.new_admin_order_path(user_id: @user.id), class: 'btn btn-primary' %>
5
5
  </li>
@@ -60,7 +60,7 @@
60
60
  </span>
61
61
  </td>
62
62
  <td class="order-number">
63
- <% if can?([:admin, :edit], order) %>
63
+ <% if can?(:admin, order) && can?(:edit, order) %>
64
64
  <%= link_to order.number, edit_admin_order_url(order) %>
65
65
  <% else %>
66
66
  <%= order.number %>
@@ -38,7 +38,7 @@
38
38
  <tr data-hook="admin_orders_index_rows">
39
39
  <td class="order-completed-at"><%= l(order.completed_at.to_date) if order.completed_at %></td>
40
40
  <td class="order-number">
41
- <% if can?([:admin, :edit], order) %>
41
+ <% if can?(:admin, order) && can?(:edit, order) %>
42
42
  <%= link_to order.number, edit_admin_order_path(order) %>
43
43
  <% else %>
44
44
  <%= order.number %>
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: 3.2.4
4
+ version: 3.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-09 00:00:00.000000000 Z
11
+ date: 2022-12-23 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: 3.2.4
19
+ version: 3.2.5
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: 3.2.4
26
+ version: 3.2.5
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: 3.2.4
33
+ version: 3.2.5
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: 3.2.4
40
+ version: 3.2.5
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: font-awesome-rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -911,7 +911,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
911
911
  - !ruby/object:Gem::Version
912
912
  version: 1.8.23
913
913
  requirements: []
914
- rubygems_version: 3.3.21
914
+ rubygems_version: 3.3.26
915
915
  signing_key:
916
916
  specification_version: 4
917
917
  summary: Admin interface for the Solidus e-commerce framework.