Skip to content

Commit

Permalink
Update permission for use of get-forwarding-meetings
Browse files Browse the repository at this point in the history
The get-forwarding-meetings needs the 'motion.can_forward' permission.
So I updated it here.
  • Loading branch information
reiterl committed Oct 30, 2024
1 parent 8c1431d commit a89a701
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class MotionForwardDialogService extends BaseDialogService<MotionForwardD
this.activeMeeting.meetingIdObservable.pipe(filter(id => 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;
Expand Down

0 comments on commit a89a701

Please sign in to comment.