workarea-storefront 3.5.17 → 3.5.18
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73d0f3cc67a6f0fe570a8a9c8bc5cef2474426b3094bf04359e4fa20beaf414e
|
4
|
+
data.tar.gz: 251a2919ee9a1f423076c962988f2b2781c8affd0758aab01ea9edc4dc1a2c97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc3b2d238021e016a3e1b4886b821823d5fc3e6c7731bb4a40fbe4ad9470935849f2f295f51974d07c6687e465ac7ed2cd7b847f0fb08d7a6019ed94e23bfdb7
|
7
|
+
data.tar.gz: eb4e7ff34f196d2bebf42a280c3405f67805536a45615e76f81ea19e0c251dd152b5a7852410c8377d91a9f079683bf8f4bdae7d07915e973c0f0113277ff7c6
|
@@ -70,9 +70,11 @@ WORKAREA.registerModule('adminToolbar', (function () {
|
|
70
70
|
},
|
71
71
|
|
72
72
|
shouldDisplay = function (user) {
|
73
|
+
var disable = WORKAREA.url.parse(window.location).queryKey.disable_admin_toolbar;
|
74
|
+
|
73
75
|
return user.impersonating
|
74
76
|
|| user.browsing_as_guest
|
75
|
-
|| (user.admin && user.logged_in);
|
77
|
+
|| (user.admin && user.logged_in && disable !== 'true');
|
76
78
|
},
|
77
79
|
|
78
80
|
create = function (user) {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: workarea-storefront
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.5.
|
4
|
+
version: 3.5.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Crouse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: workarea-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.5.
|
19
|
+
version: 3.5.18
|
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.5.
|
26
|
+
version: 3.5.18
|
27
27
|
description: Provides user-facing ecommerce storefront functionality for the Workarea
|
28
28
|
Commerce Platform.
|
29
29
|
email:
|