Skip to content
This repository was archived by the owner on Jul 14, 2026. It is now read-only.
This repository was archived by the owner on Jul 14, 2026. It is now read-only.

No redirect to shares with me page while opening internal link in case auto_accept_share #9776

Description

@v-scharf

Precondition:

  • run ocis using FRONTEND_AUTO_ACCEPT_SHARES: "true"
  • user katherine disables auto sharing: curl --insecure -X POST -u katherine:gemini https://localhost:9200/api/v0/settings/values-save -d '{"value":{"accountUuid":"me","bundleId":"2a506de7-99bd-4f0d-994e-c38e72c28fd9","settingId":"ec3ed4a3-3946-4efc-8f9f-76d38b12d3a9","resource":{"type":"TYPE_USER"},"boolValue":false}}'

Steps:

  • admin creates folder and shares to katherine and richard
  • admin creates internal link to folder
  • users open link

Expected: redirect to shares->shares with me
Actual: if users have FRONTEND_AUTO_ACCEPT_SHARES: "true" (in the feature -> default) redirect doesn't work

Screen.Recording.2023-10-06.at.15.38.59.mov

NOTE: please enablecode after fixing:
https://github.com/owncloud/web/pull/9775/files#diff-51d1aa97f08184d1170eefe0765f26efa2b7f0f92bfa8079115e30eaf959218eR105-R112

and https://github.com/owncloud/web/pull/9775/files#diff-613727c41c6d01f3377cea44044287cc7f6948c87f3e2a2c4160405fbf14066eR22

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions