gitlab-org--gitlab-foss/app/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
project_policy
base_policy.rb
board_policy.rb Fix 403 errors when adding an assignee list in project boards 2019-02-14 13:41:43 -08:00
commit_policy.rb
commit_status_policy.rb
container_repository_policy.rb
deploy_key_policy.rb
deploy_token_policy.rb
deployment_policy.rb
environment_policy.rb
external_issue_policy.rb
global_policy.rb
group_label_policy.rb
group_member_policy.rb
group_policy.rb
issuable_policy.rb
issue_policy.rb Prevent comments by email when issue is locked 2019-01-31 16:52:48 +01:00
merge_request_policy.rb
milestone_policy.rb
namespace_policy.rb
nil_policy.rb
note_policy.rb
personal_snippet_policy.rb Prevent comments by email when issue is locked 2019-01-31 16:52:48 +01:00
project_label_policy.rb
project_member_policy.rb
project_policy.rb [master] Pipelines section is available to unauthorized users 2019-01-31 16:52:50 +01:00
project_snippet_policy.rb Prevent comments by email when issue is locked 2019-01-31 16:52:48 +01:00
protected_branch_policy.rb
release_policy.rb
suggestion_policy.rb
user_policy.rb