nextcloud / nextcloud/richdocuments

Unable to Open Document Inside Tagged Folder that has Restricted File Access

Open
#1,168 13 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug
Dominant language
JavaScript
Stars
453
Forks
147
Avg merge
14h 54m
Merged PRs (30d)
83

Description

Nextcloud 19.0.1

Trying to access documents inside a folder with a Restricted Tag that Blocks File Access (using Flow) to certain users.

Accessed the folder as a privileged user and was unable to open the document.

Error message:
image

Nextcloud logs as Admin
image

Collabora works fine on other documents that do not have the file access restrictions.

Any solutions to this? How can I help fix this? Happy to post more logs

Reference: #202 - marked as stale and wontfix - However, this problem persists.

EDIT: draw.io, a NC extension that edits diagrams work fine in the same environment, so this must be an issue with Collabora.

I need to get this working ASAP in production - any temporary solutions that works while maintaining the folder access control rights?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with a document in a folder using a Restricted Tag and Flow file-access restriction. Compare the Collabora failure with the working draw.io case, then inspect the attached Nextcloud admin logs and error message. Done means restricted documents open for privileged users without removing folder access controls.

Written by the indexing model from the issue text.

Assessment

Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.