gitlab-org--gitlab-foss/spec/models
Sean McGivern 960cd184d3 Merge branch 'guests_cant_see_mrs' into 'master'
Make guests unable to view MRs

## What does this MR do?

Make guests unable to view MRs. This also fixes a bug when a non-member user could get notification if mentioned (in private project, it's OK for public project).

Now if you are a guest and you will be mentioned in one of the MRs you won't get a notification. 

## What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/1410

See merge request !6673
2016-10-11 15:26:00 +00:00
..
ci Fix build. 2016-09-21 02:59:17 +05:30
concerns Add markdown cache columns to the database, but don't use them yet 2016-10-07 02:54:25 +01:00
cycle_analytics Fix the "Commits" section of the cycle analytics summary. 2016-09-26 18:38:40 +05:30
hooks Remove schema annotations completely 2016-09-16 14:37:48 +03:00
issue Fix spec failures. 2016-09-20 16:53:12 +05:30
members Allow Member.add_user to handle access requesters 2016-09-28 09:43:00 +02:00
merge_request Fix spec failures. 2016-09-20 16:53:12 +05:30
network Fix Error 500 resulting when loading network graph 2016-08-20 09:57:20 -07:00
project_services Merge branch 'feature/improve-async-pipeline-processing' into 'master' 2016-10-06 08:42:35 +00:00
ability_spec.rb Project tools visibility level 2016-09-01 11:47:59 -03:00
abuse_report_spec.rb Add markdown cache columns to the database, but don't use them yet 2016-10-07 02:54:25 +01:00
appearance_spec.rb
application_setting_spec.rb
award_emoji_spec.rb
blob_spec.rb Handle encoding in non-binary Blob instances 2016-09-14 14:15:31 +02:00
board_spec.rb
broadcast_message_spec.rb
build_spec.rb Rename ignored to failed_but_allowed, introduce exclude_ignored 2016-10-03 18:22:51 +08:00
commit_range_spec.rb Use JavaScript tooltips for mentions (!5301) 2016-09-01 01:21:34 +02:00
commit_spec.rb
commit_status_spec.rb Add test for CommitStatus.exclude_ignored 2016-10-03 18:56:32 +08:00
compare_spec.rb
deploy_key_spec.rb
deploy_keys_project_spec.rb
deployment_spec.rb
diff_note_spec.rb Optimize discussion notes resolving and unresolving 2016-09-06 12:14:09 -03:00
discussion_spec.rb Optimize discussion notes resolving and unresolving 2016-09-06 12:14:09 -03:00
email_spec.rb
environment_spec.rb Fix validation regexs (+1 squashed commit) 2016-09-19 10:07:15 +02:00
event_spec.rb Make guests unable to view MRs 2016-10-11 16:51:26 +03:00
external_issue_spec.rb
forked_project_link_spec.rb Enforce the fork_project permission in Projects::CreateService 2016-09-27 13:17:56 +01:00
generic_commit_status_spec.rb
global_milestone_spec.rb Ensure milestones passed to GlobalMilestone is an ActiveRecord::Relation 2016-09-23 13:34:39 +02:00
group_spec.rb Re-add the AccessRequestable concern 2016-09-22 11:12:17 +02:00
identity_spec.rb
issue_spec.rb Allow Member.add_user to handle access requesters 2016-09-28 09:43:00 +02:00
key_spec.rb Remove empty describe block on key spec model 2016-10-11 11:02:53 +05:00
label_link_spec.rb Build instead create in label_link model spec 2016-10-11 10:58:46 +05:00
label_spec.rb
legacy_diff_note_spec.rb
list_spec.rb
member_spec.rb Members::RequestAccessService is tricter on permissions 2016-10-03 10:06:40 +02:00
merge_request_diff_spec.rb Fix Error 500 when viewing old merge requests with bad diff data 2016-10-10 13:05:09 -07:00
merge_request_spec.rb Merge branch 'issue_22446' into 'master' 2016-10-04 11:27:47 +00:00
milestone_spec.rb Allowing ">" to be used for Milestone models's title and storing the value in db as unescaped. 2016-09-29 19:28:38 -07:00
namespace_spec.rb Correct namespace validation to forbid bad names #21077 2016-10-07 13:46:59 -05:00
note_spec.rb remove Ability.abilities 2016-08-30 11:35:06 -07:00
notification_setting_spec.rb
personal_access_token_spec.rb
project_feature_spec.rb Project tools visibility level 2016-09-01 11:47:59 -03:00
project_group_link_spec.rb
project_snippet_spec.rb
project_spec.rb Precalculate trending projects 2016-10-10 12:27:08 +02:00
project_team_spec.rb Fix specs that requires an access request 2016-09-22 11:12:17 +02:00
project_wiki_spec.rb
protected_branch_spec.rb
release_spec.rb
repository_spec.rb Make searching for commits case insensitive. 2016-10-10 10:11:46 +02:00
service_spec.rb Add markdown cache columns to the database, but don't use them yet 2016-10-07 02:54:25 +01:00
snippet_spec.rb Add markdown cache columns to the database, but don't use them yet 2016-10-07 02:54:25 +01:00
spam_log_spec.rb
todo_spec.rb
tree_spec.rb
trending_project_spec.rb Precalculate trending projects 2016-10-10 12:27:08 +02:00
user_agent_detail_spec.rb
user_spec.rb Refactor Gitlab::Identifier 2016-10-05 12:40:17 +02:00
wiki_page_spec.rb