Skip to content

Check user permissions correctly

Jarka Košanová requested to merge fix-epic-link-create-perm into master

What does this MR do?

In !22688 (merged) we introduced returning meaningful errors when adding one epic at time. We, however, missed checking user permissions in that case.

It is not a big issue as we check it in the controller, but we should keep consistency with other services and make sure here that a user has permissions.

This MR adds a check for permissions for both cases (one epic added/multiple epics added)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by 🤖 GitLab Bot 🤖

Merge request reports