-
- Downloads
There was a problem fetching the pipeline summary.
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
Showing
- CHANGELOG 1 addition, 0 deletionsCHANGELOG
- app/models/ability.rb 1 addition, 1 deletionapp/models/ability.rb
- features/snippets/snippets.feature 12 additions, 1 deletionfeatures/snippets/snippets.feature
- features/steps/shared/authentication.rb 4 additions, 0 deletionsfeatures/steps/shared/authentication.rb
- features/steps/snippets/snippets.rb 20 additions, 0 deletionsfeatures/steps/snippets/snippets.rb
- spec/support/login_helpers.rb 5 additions, 0 deletionsspec/support/login_helpers.rb
Loading
Please register or sign in to comment