nextcloud / nextcloud/groupfolders

Sharing restriction (advanced permissions) breaks loading of documents in android app

Open
#1,861 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug feature: acl integration
Dominant language
PHP
Stars
343
Forks
106
Avg merge
2d 3h
Merged PRs (30d)
34

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.
Steps to reproduce
  1. Prerequisites: admin is the nextcloud administrator. admin and user1 are users in the group "home".
  2. admin creates a groupfolder named "groupfolder-home". Group "home" is added as group (write, share, delete). Advanced permissions are granted for admin.
  3. admin adds user1 in the sharing sidebar of "groupfolder-home" and restricts/disables sharing for user1.
  4. admin adds a new textfile (newfile.md) to groupfoler-home (could also be a new nextcloud office document).
  5. user1 openens nextcloud on android and opens newfile.md
Expected behaviour

newfile.md should just be opened in nextcloud android app.

Actual behaviour

newfile.md cannot be opened in nextcloud android app (endless spinner... text appears that loading takes ages). Same happens for e.g. nextcloud office documents.
Opening newfile.md still works in nextcloud webif.
Opening newfile.md still works, if sharing permissions are generally restricted for the group in the general admin settings of groupfolders.

Server configuration

Nextcloud version: 23.0.0

Group folders version: 11.1.2

Nextcloud android version: 3.18.1

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

No source file or test is named. Start by reproducing the groupfolders advanced-permissions setup and opening newfile.md in the Android app, then compare it with the working web interface. Done means Markdown and Nextcloud Office documents open normally for a user whose sharing is restricted, without an endless spinner.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, php
Domain
authorization, backend, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.