motor-admin 0.4.13 → 0.4.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/motor/build_schema/apply_permissions.rb +5 -0
- data/lib/motor/version.rb +1 -1
- data/ui/dist/main-ff194825390dee1014af.css.gz +0 -0
- data/ui/dist/main-ff194825390dee1014af.js.gz +0 -0
- data/ui/dist/manifest.json +5 -5
- metadata +4 -4
- data/ui/dist/main-68900e1e3acdee81d5c5.css.gz +0 -0
- data/ui/dist/main-68900e1e3acdee81d5c5.js.gz +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d242e8d77bbca0b3e4feda82421a08560cf16b6209a98fd335c5086a3bb00f96
|
4
|
+
data.tar.gz: 0ceea52e6274d0ec3ff5259dc68285f6f299ad65c2603f8915280d283403bc85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af6f6e082107c04fd6cb780f5792015272b69afa2c08e437a3c1db1e33b1901f337bf824f41b7407beeb386b6641562211049a451f6de6d2ca1f6fade8a7f525
|
7
|
+
data.tar.gz: 28e0bc0f3d6a83c2328ff1481b6f577c66c6d895d674c75803e2261f154f4b6ee9869f25c0dc2bb1208cc5973a95292650f7fa109f0114b604148aa3369807c4
|
@@ -45,6 +45,11 @@ module Motor
|
|
45
45
|
next if reference_model_name &&
|
46
46
|
(model_class.nil? || !ability.can?(:read, model_class))
|
47
47
|
|
48
|
+
if !ability.can?(:update, model, column[:name]) &&
|
49
|
+
column[:access_type] != BuildSchema::ColumnAccessTypes::HIDDEN
|
50
|
+
column = column.merge(access_type: BuildSchema::ColumnAccessTypes::READ_ONLY)
|
51
|
+
end
|
52
|
+
|
48
53
|
column
|
49
54
|
end.compact
|
50
55
|
end
|
data/lib/motor/version.rb
CHANGED
Binary file
|
Binary file
|
data/ui/dist/manifest.json
CHANGED
@@ -3964,9 +3964,9 @@
|
|
3964
3964
|
"images/layers-2x.png": "images/layers-2x.png",
|
3965
3965
|
"images/layers.png": "images/layers.png",
|
3966
3966
|
"images/marker-icon.png": "images/marker-icon.png",
|
3967
|
-
"main-
|
3968
|
-
"main-
|
3969
|
-
"main-
|
3970
|
-
"main.css": "main-
|
3971
|
-
"main.js": "main-
|
3967
|
+
"main-ff194825390dee1014af.css.gz": "main-ff194825390dee1014af.css.gz",
|
3968
|
+
"main-ff194825390dee1014af.js.LICENSE.txt": "main-ff194825390dee1014af.js.LICENSE.txt",
|
3969
|
+
"main-ff194825390dee1014af.js.gz": "main-ff194825390dee1014af.js.gz",
|
3970
|
+
"main.css": "main-ff194825390dee1014af.css",
|
3971
|
+
"main.js": "main-ff194825390dee1014af.js"
|
3972
3972
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motor-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pete Matsyburka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ar_lazy_preload
|
@@ -2235,8 +2235,8 @@ files:
|
|
2235
2235
|
- ui/dist/images/layers-2x.png
|
2236
2236
|
- ui/dist/images/layers.png
|
2237
2237
|
- ui/dist/images/marker-icon.png
|
2238
|
-
- ui/dist/main-
|
2239
|
-
- ui/dist/main-
|
2238
|
+
- ui/dist/main-ff194825390dee1014af.css.gz
|
2239
|
+
- ui/dist/main-ff194825390dee1014af.js.gz
|
2240
2240
|
- ui/dist/manifest.json
|
2241
2241
|
homepage:
|
2242
2242
|
licenses:
|
Binary file
|
Binary file
|