gitlab-org--gitlab-foss/spec
Douwe Maan b2eef41d41 Merge branch 'fix-error-500-internal-snippet' into 'master'
Fix Error 500 when one user attempts to access another's personal, internal snippet

### What does this MR do?

This MR fixes an Error 500 that occurred if one user tried to access another's personal, internal snippet. Steps to reproduce:

### Why was this MR needed?

1. Go to `<hostname>/snippets/new`.
2. Select "Internal".
3. Create a snippet. Save the URL (e.g. `<hostname>/snippets/20`)
4. Logout and sign in as another user.
5. Go to the URL in step 3.

### What are the relevant issue numbers?

Closes #1815

See merge request !854
2015-06-20 10:38:33 +00:00
..
controllers Use User#two_factor_enabled instead of otp_required_for_login 2015-06-19 15:14:37 -04:00
factories Simplify Note model specs 2015-05-11 00:01:16 -04:00
features Add 2FA status to Admin::Users#show 2015-06-19 15:04:47 -04:00
finders Set milestone on new issue when creating issue from index with milestone filter active. 2015-05-27 14:22:11 +02:00
fixtures Add ExternalLinkFilter to Markdown pipeline 2015-05-27 15:39:08 -04:00
helpers Refactor dashboard_choices 2015-06-13 17:59:13 -04:00
javascripts Refactor LineHighlighter 2015-06-19 04:31:24 -04:00
lib Add init test for ProjectSearchResults 2015-06-18 10:35:48 -07:00
mailers Update ffaker gem 2015-05-20 19:22:00 -04:00
models Add convenience methods to User for getting and setting 2FA status 2015-06-19 14:59:42 -04:00
requests/api Change `foo.should` syntax to `expect(foo).to` in specs 2015-06-13 18:37:30 -04:00
routing Add RootController 2015-06-13 17:59:11 -04:00
services Merge branch 'fix-ext-issue-webbased-hooks' into 'master' 2015-06-16 11:36:31 +00:00
support Fix Error 500 when one user attempts to access a personal, internal snippet 2015-06-19 21:23:46 -07:00
tasks/gitlab
workers
factories.rb Add convenience methods to User for getting and setting 2FA status 2015-06-19 14:59:42 -04:00
factories_spec.rb Remove the invalid key factories 2015-04-11 17:12:10 -04:00
spec_helper.rb Fix shoulda-matchers require 2015-06-10 01:38:36 -04:00
teaspoon_env.rb teaspoon install 2015-05-28 18:22:32 -04:00