-
- Downloads
There was a problem fetching the pipeline summary.
Merge branch 'confidential-issues-in-private-projects' into 'master'
Allow users to create confidential issues in private projects Closes #14787 ## What does this MR do? Allow users to create confidential issues in private projects, and exclude access to them to project members with `Guest` role. ## Are there points in the code the reviewer needs to double check? The query generated by the `User#authorized_projects` method. ## Why was this MR needed? Community have been requesting this feature. ## What are the relevant issue numbers? https://gitlab.com/gitlab-org/gitlab-ce/issues/14787 https://gitlab.com/gitlab-org/gitlab-ce/issues/3678 ## Screenshots (if relevant) Not relevant. ## Todo - [x] Allow users to create confidential issues in private projects - [x] Project members with `Guest` role should not have access to confidential issues - [ ] ~~Apply changes in EE + Elasticsearch~~ Will be done in another MR, when this got merged See merge request !3471
Showing
- CHANGELOG 1 addition, 0 deletionsCHANGELOG
- app/finders/snippets_finder.rb 1 addition, 1 deletionapp/finders/snippets_finder.rb
- app/models/ability.rb 1 addition, 1 deletionapp/models/ability.rb
- app/models/issue.rb 10 additions, 2 deletionsapp/models/issue.rb
- app/models/note.rb 3 additions, 16 deletionsapp/models/note.rb
- app/models/project_team.rb 8 additions, 2 deletionsapp/models/project_team.rb
- app/models/user.rb 15 additions, 7 deletionsapp/models/user.rb
- app/views/shared/issuable/_form.html.haml 2 additions, 2 deletionsapp/views/shared/issuable/_form.html.haml
- spec/controllers/projects/issues_controller_spec.rb 18 additions, 1 deletionspec/controllers/projects/issues_controller_spec.rb
- spec/lib/banzai/filter/redactor_filter_spec.rb 12 additions, 0 deletionsspec/lib/banzai/filter/redactor_filter_spec.rb
- spec/lib/gitlab/project_search_results_spec.rb 12 additions, 0 deletionsspec/lib/gitlab/project_search_results_spec.rb
- spec/lib/gitlab/search_results_spec.rb 16 additions, 0 deletionsspec/lib/gitlab/search_results_spec.rb
- spec/models/concerns/milestoneish_spec.rb 14 additions, 0 deletionsspec/models/concerns/milestoneish_spec.rb
- spec/models/event_spec.rb 6 additions, 0 deletionsspec/models/event_spec.rb
- spec/models/note_spec.rb 11 additions, 4 deletionsspec/models/note_spec.rb
- spec/models/project_team_spec.rb 6 additions, 0 deletionsspec/models/project_team_spec.rb
- spec/requests/api/issues_spec.rb 24 additions, 1 deletionspec/requests/api/issues_spec.rb
- spec/requests/api/milestones_spec.rb 13 additions, 0 deletionsspec/requests/api/milestones_spec.rb
- spec/services/notification_service_spec.rb 11 additions, 0 deletionsspec/services/notification_service_spec.rb
- spec/services/projects/autocomplete_service_spec.rb 12 additions, 0 deletionsspec/services/projects/autocomplete_service_spec.rb
Loading
Please register or sign in to comment