diff --git a/bigbluebutton-html5/imports/ui/components/whiteboard/container.jsx b/bigbluebutton-html5/imports/ui/components/whiteboard/container.jsx index 2e07f0ade3..a8c3ab8d89 100644 --- a/bigbluebutton-html5/imports/ui/components/whiteboard/container.jsx +++ b/bigbluebutton-html5/imports/ui/components/whiteboard/container.jsx @@ -51,7 +51,7 @@ const WhiteboardContainer = (props) => { const owner = shapes[id]?.userId; const isBackgroundShape = id?.includes('slide-background'); const isPollsResult = shapes[id]?.name?.includes('poll-result'); - const hasAccess = !isBackgroundShape && !isPollsResult + const hasAccess = !isBackgroundShape && !isPollsResult || isPresenter && ((owner && owner === currentUser?.userId) || !owner || isPresenter || isModerator); return hasAccess; };