diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-26 18:10:26 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-26 18:10:26 +0300 |
commit | 60a260df4186ab0fe08352d1eb957b34ebdeb7c2 (patch) | |
tree | 5c1f44c0cb9c992cd0e1c7d3aa0b241359438314 /app/serializers | |
parent | ee0b7522d90ace2053f1d8dfcdf6b01d50179ed1 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/issue_entity.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/serializers/issue_entity.rb b/app/serializers/issue_entity.rb index ea43ed87d22..7ff75927fcd 100644 --- a/app/serializers/issue_entity.rb +++ b/app/serializers/issue_entity.rb @@ -47,6 +47,10 @@ class IssueEntity < IssuableEntity can?(request.current_user, :update_issue, issue) end + expose :can_set_issue_metadata do |issue| + can?(request.current_user, :set_issue_metadata, issue) + end + expose :can_award_emoji do |issue| can?(request.current_user, :award_emoji, issue) end |