withoutGlobalScopes() ->find($submissionId); if ($submission === null) { return false; } // TODO TECH-CHANNEL-AUTH-ORG-ADMIN — extend to organisation admins // once we audit the Spatie Permission helper for an // organisation-scoped role check (hasRoleInOrganisation or // similar). Until that audit lands, only the submitter has // channel access. return $submission->submitted_by_user_id === $user->id; }, );