thecore_ui_rails_admin 2.5.7 → 2.5.8
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: f1d1c9307261adf3e129bdb431d71baccc60b1f865de31e7616fc2fba4954ae5
|
4
|
+
data.tar.gz: c3bd49155e00599bfb895e6c6883d3235513d9539f81f0c6f3520d78173ff473
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a91c62050bf4fefa41175ca7b2479a7be464e429bfc0842cbbf595e88dc168c42ddd438cfbe267cb54a1154ce52b5d6073d4ee30598e6799e7e6423d48a5a7ec
|
7
|
+
data.tar.gz: e13c7cc2935816c2ee043418bc286af36b43fc1e0c748303fe21f2c9ea611677a7fb78fd6e4ecd82d9688ce513dbb5aa9198df713637dd2a9cd3391c077bc5bf
|
@@ -9,24 +9,25 @@ module ThecoreUiRailsAdminPermission
|
|
9
9
|
field :predicate
|
10
10
|
field :action
|
11
11
|
field :target
|
12
|
+
field :lock_version
|
12
13
|
list do
|
13
14
|
field :created_at
|
14
|
-
exclude_fields :lock_version
|
15
|
+
# exclude_fields :lock_version
|
15
16
|
end
|
16
17
|
show do
|
17
18
|
exclude_fields :id
|
18
|
-
exclude_fields :lock_version
|
19
|
-
end
|
20
|
-
create do
|
21
|
-
field :lock_version, :hidden do
|
22
|
-
visible true
|
23
|
-
end
|
24
|
-
end
|
25
|
-
edit do
|
26
|
-
field :lock_version, :hidden do
|
27
|
-
visible true
|
28
|
-
end
|
19
|
+
# exclude_fields :lock_version
|
29
20
|
end
|
21
|
+
# create do
|
22
|
+
# field :lock_version, :hidden do
|
23
|
+
# visible true
|
24
|
+
# end
|
25
|
+
# end
|
26
|
+
# edit do
|
27
|
+
# field :lock_version, :hidden do
|
28
|
+
# visible true
|
29
|
+
# end
|
30
|
+
# end
|
30
31
|
end
|
31
32
|
end
|
32
33
|
end
|
@@ -12,25 +12,26 @@ module ThecoreUiRailsAdminRole
|
|
12
12
|
|
13
13
|
field :name
|
14
14
|
field :permissions#, :selectize
|
15
|
+
|
15
16
|
list do
|
16
17
|
field :created_at
|
17
|
-
exclude_fields :lock_version
|
18
|
+
# exclude_fields :lock_version
|
18
19
|
end
|
19
20
|
show do
|
20
21
|
exclude_fields :id
|
21
|
-
exclude_fields :lock_version
|
22
|
-
end
|
23
|
-
create do
|
24
|
-
field :lock_version, :hidden do
|
25
|
-
visible true
|
26
|
-
end
|
27
|
-
# include UserRailsAdminCreateConcern
|
28
|
-
end
|
29
|
-
edit do
|
30
|
-
field :lock_version, :hidden do
|
31
|
-
visible true
|
32
|
-
end
|
22
|
+
# exclude_fields :lock_version
|
33
23
|
end
|
24
|
+
# create do
|
25
|
+
# field :lock_version, :hidden do
|
26
|
+
# visible true
|
27
|
+
# end
|
28
|
+
# # include UserRailsAdminCreateConcern
|
29
|
+
# end
|
30
|
+
# edit do
|
31
|
+
# field :lock_version, :hidden do
|
32
|
+
# visible true
|
33
|
+
# end
|
34
|
+
# end
|
34
35
|
end
|
35
36
|
end
|
36
37
|
end
|
@@ -61,9 +61,9 @@ module ThecoreUiRailsAdminUser
|
|
61
61
|
field :password_confirmation do
|
62
62
|
required true
|
63
63
|
end
|
64
|
-
field :lock_version, :hidden do
|
65
|
-
|
66
|
-
end
|
64
|
+
# field :lock_version, :hidden do
|
65
|
+
# visible true
|
66
|
+
# end
|
67
67
|
# include UserRailsAdminCreateConcern
|
68
68
|
end
|
69
69
|
edit do
|
@@ -74,9 +74,9 @@ module ThecoreUiRailsAdminUser
|
|
74
74
|
required false
|
75
75
|
end
|
76
76
|
|
77
|
-
field :lock_version, :hidden do
|
78
|
-
|
79
|
-
end
|
77
|
+
# field :lock_version, :hidden do
|
78
|
+
# visible true
|
79
|
+
# end
|
80
80
|
# include UserRailsAdminEditConcern
|
81
81
|
|
82
82
|
end
|