Skip to content
代码片段 群组 项目
提交 5c53f91f 编辑于 作者: Nicolas Dular's avatar Nicolas Dular
浏览文件

Use the policy check for related epic links API

The readable_by? method is lacking the correct permissions for public
groups on the Issue (WorkItem) model. This change uses the policy
instead of the overriden readable_by? method to get around this bug.

This led to differently returned related links when the feature flag was
enabled.

There is no performance change, since the Epic model has never overriden
the readable_by method and always used the read policy check.
上级 212741ae
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册