Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clipboard access issue #545

Open
chris-fj opened this issue May 13, 2024 · 1 comment
Open

Clipboard access issue #545

chris-fj opened this issue May 13, 2024 · 1 comment

Comments

@chris-fj
Copy link

Hello, everyone.

I am having trouble when trying to access the clipboard, because when I try to copy from a document, I receive this error

Permissions policy violation: The Clipboard API has been blocked because of a permissions policy applied to the current document

My stack is collabora on top of ownCloud, behind Traefik, all running in Docker. The versions are:

Collabora:

COOLWSD version: 24.04.1.4
git hash: [f12ee1f]

ownCloud: 10.14.0 (stable)

As noted by a kind maintainer (vmiklos) in the Collabora discussion page (CollaboraOnline/online#9038), The "Advanced integration" section in the docs (https://sdk.collaboraonline.com/docs/advanced_integration.html#allow-the-clipboard-permission-query) specifies that the iframe of Collabora must contain the attributes clipboard-read and clipboard-write, none of which are present in the HTML when opening and inspecting the elements of a document (and they should be).

Thanks for your attention

@krzys-h
Copy link

krzys-h commented May 15, 2024

I started running into this issue after a recent upgrade, so this is definitely a regression. I'm not certain which component is causing this problem as I upgraded everything at once, but I can confirm that another server running nextcloud + their version of the integration with the same version of Collabora works fine, so it's either this app, or owncloud itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants