Filter non public fields for user list

Luckily there is no confidential information stored in users table.

Change-Id: I9a8f4f485c60af1f399230f4957d5c1dff501853
This commit is contained in:
Nikita Konovalov
2014-04-22 12:49:29 +04:00
parent 169a775438
commit 647b431dfd

View File

@@ -86,7 +86,8 @@ class UsersController(rest.RestController):
# Resolve the marker record.
marker_user = users_api.user_get(marker)
users = users_api.user_get_all(marker=marker_user, limit=limit)
users = users_api.user_get_all(marker=marker_user, limit=limit,
filter_non_public=True)
user_count = users_api.user_get_count()
# Apply the query response headers.