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 Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
ci [master] Pipelines section is available to unauthorized users 2019-01-31 16:52:50 +01:00
clusters Add policy for clusters on group level 2018-11-08 23:14:06 +13:00
concerns Allow users to add cluster with ancestors 2018-12-24 10:28:40 -06:00
project_policy Enable frozen string in presenters and policies 2018-07-24 13:18:25 -07:00
base_policy.rb Make ProjectSnippetPolicy EE-ready 2019-01-07 18:45:54 +01:00
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 Merge branch 'security-guest-comments' into 'master' 2018-11-28 19:11:56 -05:00
commit_status_policy.rb Enable frozen string in presenters and policies 2018-07-24 13:18:25 -07:00
container_repository_policy.rb Add Container Registry API 2019-01-25 13:13:48 +01:00
deploy_key_policy.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
deploy_token_policy.rb Enable frozen string in presenters and policies 2018-07-24 13:18:25 -07:00
deployment_policy.rb Allow to make builds soft-archived. 2018-11-05 15:51:57 +01:00
environment_policy.rb Enable frozen string in presenters and policies 2018-07-24 13:18:25 -07:00
external_issue_policy.rb Enable frozen string in presenters and policies 2018-07-24 13:18:25 -07:00
global_policy.rb Spec instance statistics 2018-07-27 15:54:28 +02:00
group_label_policy.rb Enable frozen string in presenters and policies 2018-07-24 13:18:25 -07:00
group_member_policy.rb Enable frozen string in presenters and policies 2018-07-24 13:18:25 -07:00
group_policy.rb Merge branch '34758-extend-can-create-cluster-logic' into 'master' 2018-12-30 10:54:08 +00:00
issuable_policy.rb Adds validation to check if user can read project 2018-12-19 10:56:11 +00:00
issue_policy.rb Prevent comments by email when issue is locked 2019-01-31 16:52:48 +01:00
merge_request_policy.rb Enable frozen string in presenters and policies 2018-07-24 13:18:25 -07:00
milestone_policy.rb Suggests issues when typing title 2018-11-27 15:10:40 +00:00
namespace_policy.rb Enable frozen string in presenters and policies 2018-07-24 13:18:25 -07:00
nil_policy.rb Enable frozen string in presenters and policies 2018-07-24 13:18:25 -07:00
note_policy.rb Prevent award_emoji to notes not visible to user 2019-01-31 16:51:17 +01:00
personal_snippet_policy.rb Prevent comments by email when issue is locked 2019-01-31 16:52:48 +01:00
project_label_policy.rb Enable frozen string in presenters and policies 2018-07-24 13:18:25 -07:00
project_member_policy.rb Enable frozen string in presenters and policies 2018-07-24 13:18:25 -07:00
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 Enable frozen string in presenters and policies 2018-07-24 13:18:25 -07:00
release_policy.rb Add spec for Release API 2018-12-31 14:35:57 +09:00
suggestion_policy.rb Allow suggesting single line changes in diffs 2018-12-13 19:17:19 +00:00
user_policy.rb Allow users to set a status 2018-07-30 15:01:26 +02:00