thecore 1.4.5 → 1.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/user.rb +0 -5
- data/lib/thecore/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffdf3dfdfc827b5bdc4358272e75d9578883b79a
|
4
|
+
data.tar.gz: f78d54b4b8b6cad6348b7e990247f807cfd41338
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3ecbf4a4189f7eda21c7acb14af95a96deb88f71a9437b9beecabbf0021c58269da22cb6d282f07104d5a19418c5c940a5390c73b56ce9fb01d9317c2dc9571
|
7
|
+
data.tar.gz: dd6e1efea5cff5fe0e38a8bd14bce2fe103cf3e084eba3031ecbdbf77ff2667f652098fee1660e4acd9bfe531fed842cf463861b59257df1a4e2e0e0dc3f153a
|
data/app/models/user.rb
CHANGED
@@ -93,11 +93,6 @@ class User < ApplicationRecord
|
|
93
93
|
bindings[:view].current_user.admin? && bindings[:view].current_user.id != bindings[:object].id
|
94
94
|
end
|
95
95
|
end
|
96
|
-
field :third_party do
|
97
|
-
visible do
|
98
|
-
bindings[:view].current_user.admin? && bindings[:view].current_user.id != bindings[:object].id
|
99
|
-
end
|
100
|
-
end
|
101
96
|
field :roles, :enum do
|
102
97
|
visible !ROLES.blank?
|
103
98
|
pretty_value do # used in list view columns and show views, defaults to formatted_value for non-association fields
|
data/lib/thecore/version.rb
CHANGED