thecore_ui_rails_admin 2.2.12 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/concerns/thecore_ui_rails_admin_user.rb +10 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f76496b79f5a6fe6a8d4b41e90395cd7842e103285fd62518abcd0c53aef5769
|
|
4
|
+
data.tar.gz: 303c1f2acc389de1b0e1c0a603a0b3071eaed8bbc5d7bddbcb087602b164e303
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b02e9490e1b9652ff4479f6a888c2763fddd9dd59c45358dfefc0141705df38f79bd29b85367573c8d3be239b1586ed5891a92f7fd195352dbd3cb300278008a
|
|
7
|
+
data.tar.gz: df4af562e11e9dc2b38df87f705038a5440b1f0a34b7827206ff9d0cfc841d6554bd3ba861a524cc35d5185af40ffbb6b76d5bacfe5d108b31670b6e2a4ec22e
|
|
@@ -29,6 +29,16 @@ module ThecoreUiRailsAdminUser
|
|
|
29
29
|
end
|
|
30
30
|
end
|
|
31
31
|
field :roles#, :selectize
|
|
32
|
+
field :access_token do
|
|
33
|
+
pretty_value do
|
|
34
|
+
"#{ENV['FRONTEND_URL']}/api/v2/authenticate?atoken=#{value}"
|
|
35
|
+
end
|
|
36
|
+
# export_value do
|
|
37
|
+
# # used in exports, where no html/data is allowed
|
|
38
|
+
# "#{ENV['FRONTEND_URL']}?atoken=#{value}"
|
|
39
|
+
# end
|
|
40
|
+
read_only true
|
|
41
|
+
end
|
|
32
42
|
# include UserRailsAdminConcern
|
|
33
43
|
|
|
34
44
|
# Fields only in lists and forms
|