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

fix(attachments): Don't require document session for getting attachments #5979

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

mejo-
Copy link
Member

@mejo- mejo- commented Jul 1, 2024

In editors with a user or share token we don't want to depend on a document session for fetching attachments.

This fixes fetching attachments in editors without a document session but with a user session or share token, e.g. in view mode of the Collectives app.

Fixes: nextcloud/collectives#1201

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits

@mejo- mejo- added bug Something isn't working 3. to review labels Jul 1, 2024
@mejo- mejo- added this to the Nextcloud 30 milestone Jul 1, 2024
@mejo- mejo- self-assigned this Jul 1, 2024
@mejo-
Copy link
Member Author

mejo- commented Jul 1, 2024

/backport to stable29

@mejo-
Copy link
Member Author

mejo- commented Jul 1, 2024

/backport to stable28

In editors with a user or share token we don't want to depend on a
document session for fetching attachments.

This fixes fetching attachments in editors without a document session
but with a user session or share token, e.g. in view mode of the
Collectives app.

Fixes: nextcloud/collectives#1201

Signed-off-by: Jonas <jonas@freesources.org>
@mejo- mejo- force-pushed the fix/attachment_user_no_session branch from 691f445 to c13614b Compare July 1, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Image fails to load with 403 after insertion
3 participants