diff --git a/lib/noosfero/api/v1/people.rb b/lib/noosfero/api/v1/people.rb index dbc400a..bb2ccac 100644 --- a/lib/noosfero/api/v1/people.rb +++ b/lib/noosfero/api/v1/people.rb @@ -6,7 +6,17 @@ module Noosfero resource :people do - # Collect comments from articles + # -- A note about privacy -- + # We wold find people by location, but we must test if the related + # fields are public. We can't do it now, with SQL, while the location + # data and the fields_privacy are a serialized settings. + # We must build a new table for profile data, where we can set meta-data + # like: + # | id | profile_id | key | value | privacy_level | source | + # | 1 | 99 | city | Salvador | friends | user | + # | 2 | 99 | lng | -38.521 | me only | automatic | + + # Collect people from environment # # Parameters: # from - date where the search will begin. If nothing is passed the default date will be the date of the first article created -- libgit2 0.21.2