stable

Clone or download

Read-only

fix: User with no WRITE permission should not be able to access edition UIs

part of story #31186 Add management of "Merge" How to test: - As a user having the WRITE permission, go to a pull-request --> The [Edit title] button is displayed --> The description comment has a footer, and it contains an [Edit] button - As a user with no WRITE permission --> There is no [Edit title] button --> The description comment has no footer Change-Id: I6c562ee17285bb706964d49e545a92272d33064c

Modified Files

Name
M plugins/pullrequest/scripts/lib/pullrequest-comments/src/description-comment/PullRequestDescriptionContentTemplate.test.ts +18 −0 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/src/description-comment/PullRequestDescriptionContentTemplate.ts +25 −13 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Modals/PullRequestEditTitleModal.test.ts +64 −70 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Modals/PullRequestEditTitleModal.vue +8 −5 Go to diff View file