Merge branch 'master' into PLT-340

Этот коммит содержится в:
=Corey Hulen
2015-10-28 08:48:12 -07:00
родитель 46e2e3ebd9 c6f3361d3c
Коммит 953e27cdf7
7 изменённых файлов: 65 добавлений и 60 удалений

Просмотреть файл

@@ -652,6 +652,12 @@ func getProfiles(c *Context, w http.ResponseWriter, r *http.Request) {
for k, p := range profiles {
options := utils.SanitizeOptions
options["passwordupdate"] = false
if c.HasSystemAdminPermissions("getProfiles") {
options["fullname"] = true
options["email"] = true
}
p.Sanitize(options)
profiles[k] = p
}