nextcloud / nextcloud/groupfolders
Sharing restriction (advanced permissions) breaks loading of documents in android app
Nobody has claimed this yet.
- 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
- Prerequisites: admin is the nextcloud administrator. admin and user1 are users in the group "home".
- admin creates a groupfolder named "groupfolder-home". Group "home" is added as group (write, share, delete). Advanced permissions are granted for admin.
- admin adds user1 in the sharing sidebar of "groupfolder-home" and restricts/disables sharing for user1.
- admin adds a new textfile (newfile.md) to groupfoler-home (could also be a new nextcloud office document).
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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