gitlab-org--gitlab-foss/app/models
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
..
concerns Merge branch 'milestone-issues-dragging' into 'master' 2014-06-05 07:08:18 +00:00
network Remove grit require 2013-09-30 13:59:16 +03:00
project_services Backport CI service refactoring from EE 2014-05-28 11:35:43 +03:00
.gitkeep init commit 2011-10-09 00:36:38 +03:00
ability.rb Refactor some search scopes to prevent wierd behaviour and PG::Error issues 2014-06-05 20:37:35 +03:00
broadcast_message.rb Allow set broadcast color with 3 digits like #444 2014-06-04 11:04:36 +03:00
commit.rb The hard limit should be a lot more liberal, 10x seems reasonable. 2014-05-28 15:08:27 +02:00
deploy_key.rb Re-annotate models 2014-04-09 15:05:03 +03:00
deploy_keys_project.rb Re-annotate models 2014-04-09 15:05:03 +03:00
diff_line.rb Refactor Parallel Diff feature and add scrollbars 2014-03-27 09:15:25 +13:00
email.rb Re-annotate models 2014-04-09 15:05:03 +03:00
event.rb Wipe wall notes feature 2014-06-13 14:24:54 +03:00
forked_project_link.rb Re-annotate models 2014-04-09 15:05:03 +03:00
group.rb Refactor some search scopes to prevent wierd behaviour and PG::Error issues 2014-06-05 20:37:35 +03:00
issue.rb Implements drag and drop upload in creating issues 2014-05-23 16:22:42 +08:00
key.rb Re-annotate models 2014-04-09 15:05:03 +03:00
merge_request.rb Add merged mrs list to milestone page 2014-06-05 16:28:13 +03:00
merge_request_diff.rb Add CompareAction class for collecting commits and diffs using satellites 2014-05-07 16:14:24 +03:00
milestone.rb Migrate invalid rows with missing iids or duplicates 2014-04-24 19:39:33 +02:00
namespace.rb Refactor some search scopes to prevent wierd behaviour and PG::Error issues 2014-06-05 20:37:35 +03:00
note.rb Wipe wall notes feature 2014-06-13 14:24:54 +03:00
notification.rb Improve notification settings page 2014-02-17 18:06:24 +02:00
personal_snippet.rb Re-annotate models 2014-04-09 15:05:03 +03:00
project.rb Wipe wall notes feature 2014-06-13 14:24:54 +03:00
project_hook.rb Re-annotate models 2014-04-09 15:05:03 +03:00
project_snippet.rb Re-annotate models 2014-04-09 15:05:03 +03:00
project_team.rb Prevent a lot of sql queries for ProjectTeam#fetch_members method 2014-06-04 19:20:25 +03:00
project_wiki.rb Allow nested files in wiki. 2014-04-28 16:22:31 +02:00
protected_branch.rb Re-annotate models 2014-04-09 15:05:03 +03:00
repository.rb Use gitlab_git to get commit_count in repo. It allows get commits count for git repos with 100k+ commits 2014-06-11 23:13:31 +03:00
service.rb Backport CI service refactoring from EE 2014-05-28 11:35:43 +03:00
service_hook.rb Re-annotate models 2014-04-09 15:05:03 +03:00
snippet.rb Rename snippets scopes to plural names. 2014-06-04 08:37:19 +02:00
system_hook.rb Re-annotate models 2014-04-09 15:05:03 +03:00
tree.rb Use new gitlab_git gem. It makes CONTRIBUTING.md work 2014-02-27 15:52:14 +02:00
user.rb Dont expose user email via API 2014-06-13 17:46:48 +03:00
users_group.rb Re-annotate models 2014-04-09 15:05:03 +03:00
users_project.rb Re-annotate models 2014-04-09 15:05:03 +03:00
web_hook.rb Re-annotate models 2014-04-09 15:05:03 +03:00
wiki_page.rb A bit clearer naming for gollum_wiki. 2014-05-05 14:01:48 +02:00