gitlab-org--gitlab-foss/spec/policies
Stan Hu b2da8042b4 Fix 403 errors when adding an assignee list in project boards
Due to a bug in `BoardPolicy`, users were getting back a 403 error when
trying to assign users to an assignee list and seeing "Something went
wrong while fetching assignees list". For some reason, the declarative
policy runtime was ignoring the ternary condition.

To work around the issue, we make the project board an explicit
condition check.

Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/9727
2019-02-14 13:41:43 -08:00
..
application_setting
ci [master] Pipelines section is available to unauthorized users 2019-01-31 16:52:50 +01:00
clusters
concerns
base_policy_spec.rb
board_policy_spec.rb Fix 403 errors when adding an assignee list in project boards 2019-02-14 13:41:43 -08:00
deploy_key_policy_spec.rb
deploy_token_policy_spec.rb
environment_policy_spec.rb
global_policy_spec.rb
group_policy_spec.rb
issuable_policy_spec.rb
issue_policy_spec.rb
namespace_policy_spec.rb
note_policy_spec.rb Prevent award_emoji to notes not visible to user 2019-01-31 16:51:17 +01:00
personal_snippet_policy_spec.rb Prevent comments by email when issue is locked 2019-01-31 16:52:48 +01:00
project_policy_spec.rb [master] Pipelines section is available to unauthorized users 2019-01-31 16:52:50 +01:00
project_snippet_policy_spec.rb Prevent comments by email when issue is locked 2019-01-31 16:52:48 +01:00
protected_branch_policy_spec.rb
user_policy_spec.rb