biola_wcms_components 0.5.0 → 0.6.0
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56e03023a012816bef139ff01bbdeb9cc37d32b2
|
4
|
+
data.tar.gz: eaca6ac88b7221b1698767cdd7936c4d8cc735af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 294bc802f28edfd345fe1e5228522f2267d41b03ea1b04f22e42f3ffd39ba305e870ef12e53728b2d6a3f3a46e3491c6f92e32be0bab022987bf18b6aed3459d
|
7
|
+
data.tar.gz: 98c6c84d88f5f88fc6a54631882b579576700207f306e75ae1d47797944b19f9b1bb009bc0c72c57a56df388318f9d8a57dff1bd1bb0842a800645860b4e1644
|
@@ -22,8 +22,8 @@ class WcmsComponents::PeopleController < ApplicationController
|
|
22
22
|
private
|
23
23
|
|
24
24
|
def permitted_people
|
25
|
-
# Return all people who are either employees or not private.
|
26
|
-
Person.where({'$or' => [{affiliations:
|
25
|
+
# Return all people who are either employees, faculty, or not private.
|
26
|
+
Person.where({'$or' => [{affiliations: 'employee'}, {affiliations: 'faculty'}, {privacy: { '$ne' => true }}] })
|
27
27
|
end
|
28
28
|
|
29
29
|
def can_search_people?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: biola_wcms_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Hall
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ace-rails-ap
|