gitlab-org--gitlab-foss/spec
Douwe Maan 0c0ef7dfb6 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
2016-06-14 09:35:18 +00:00
..
config
controllers Project members with guest role can't access confidential issues 2016-06-13 19:32:00 -03:00
factories Remove deprecated issues_tracker and issues_tracker_id from project 2016-06-13 18:13:55 -03:00
features Apply reviewer notes: update CHANGELOG, adjust code formatting 2016-06-13 09:51:55 -07:00
finders Make upcoming milestone work across projects 2016-05-16 10:25:24 +01:00
fixtures Set target="_blank" for external links 2016-06-08 13:07:20 -05:00
helpers Remove deprecated issues_tracker and issues_tracker_id from project 2016-06-13 18:13:55 -03:00
initializers
javascripts Move award_menu_url variable into gon object. 2016-06-09 03:37:40 +03:00
lib Project members with guest role can't access confidential issues 2016-06-13 19:32:00 -03:00
mailers Update tests for the current_application_settings request store changes 2016-05-27 19:05:52 -07:00
models Merge branch 'confidential-issues-in-private-projects' into 'master' 2016-06-14 09:35:18 +00:00
requests Project members with guest role can't access confidential issues 2016-06-13 19:32:00 -03:00
routing Merge branch 'health-check-route' 2016-05-12 16:39:03 -05:00
services Project members with guest role can't access confidential issues 2016-06-13 19:32:00 -03:00
support Merge branch 'make-omniauth-tests-to-not-modify-global-state' into 'master' 2016-06-09 09:55:14 +00:00
tasks/gitlab Switch the gitlab:db:configure task to use tables.any? instead of looking specifically for the schema_migrations table 2016-05-25 10:47:09 -07:00
views
workers Rename all `[ci_]commit` to `[ci_]pipeline` in specs and features 2016-06-03 16:22:26 +02:00
factories_spec.rb Enable RSpec/NotToNot cop and auto-correct offenses 2016-05-24 15:40:29 -04:00
rails_helper.rb
spec_helper.rb Enable Knapsack only in CI environment 2016-06-08 11:43:13 +02:00
teaspoon_env.rb Add leading comment space cop 2016-05-31 19:33:46 -03:00