From a89a701327dabdc27071197eecf91155d1fc952a Mon Sep 17 00:00:00 2001 From: Ludwig Reiter Date: Wed, 30 Oct 2024 13:26:59 +0100 Subject: [PATCH] Update permission for use of get-forwarding-meetings The get-forwarding-meetings needs the 'motion.can_forward' permission. So I updated it here. --- .../services/motion-forward-dialog.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/site/pages/meetings/pages/motions/components/motion-forward-dialog/services/motion-forward-dialog.service.ts b/client/src/app/site/pages/meetings/pages/motions/components/motion-forward-dialog/services/motion-forward-dialog.service.ts index 3ae7d60adf..cac8ba9e8d 100644 --- a/client/src/app/site/pages/meetings/pages/motions/components/motion-forward-dialog/services/motion-forward-dialog.service.ts +++ b/client/src/app/site/pages/meetings/pages/motions/components/motion-forward-dialog/services/motion-forward-dialog.service.ts @@ -99,7 +99,7 @@ export class MotionForwardDialogService extends BaseDialogService id !== undefined)) ); const meetings = - this.operator.hasPerms(Permission.motionCanManageMetadata) && !!meetingId + this.operator.hasPerms(Permission.motionCanForward) && !!meetingId ? await this.presenter.call({ meeting_id: meetingId }) : []; this._forwardingMeetings = meetings;