gitlab-org--gitlab-foss/lib
Dmitriy Zaporozhets ae564c97d4
Dont expose user email via API
To prevent leaking of users info we reduce amount of user information
retrieved via API for normal users.

What user can get via API:

* if not admin: only id, state, name, username and avatar_url
* if admin: all user information
* about himself: all informaion

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-13 17:46:48 +03:00
..
api Dont expose user email via API 2014-06-13 17:46:48 +03:00
assets move assets from lib directory to vendor 2012-05-29 17:56:48 +05:00
backup Backup wiki repo even if the main repo is empty 2014-05-08 22:50:48 +02:00
gitlab Merge branch 'huge-repo-improve' into 'master' 2014-06-11 21:09:23 +00:00
redcarpet/render Add feature spec. 2014-05-26 20:43:58 +02:00
support Move gitlab-ssl nginx config from gitlab-recipes 2014-06-05 16:54:50 +03:00
tasks Skip init script checks on omnibus-gitlab 2014-06-12 09:31:17 +02:00
email_validator.rb Test for the apostrophe in the email 2014-06-11 13:36:30 +02:00
event_filter.rb Constants in Events looks good now 2013-02-13 15:48:16 +04:00
extracts_path.rb Improve code according to new gitlab_git 2014-02-04 14:46:15 +02:00
file_size_validator.rb Fully embrace Ruby 1.9 hash syntax 2012-08-10 18:25:15 -04:00
static_model.rb Fixed styles, ProjectHook specs etc 2013-01-05 00:35:38 +02:00