Commit graph

2 commits

Author SHA1 Message Date
Rémy Coutable
ce4b70ce18
Factorize policy helpers into PolicyHelpers
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-03-27 15:41:46 +01:00
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