File attachments do not work if user is not allowed to share files
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 354
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 43
Description
Describe the bug
when the option "Limit sharing based on groups" is activated in nextcloud "Sharing" settings and a user does not have permission to share files, attachments cannot be uploaded by this user anymore.
To Reproduce
Steps to reproduce the behavior:
- Set "Limit sharing based on groups" to a group where the target user is not member of
- login as target user (the user without permissions to share files/folders
- Create new card or open new one in Deck
- Try to upload an attachment to the card/ticket
- error that user should contact administrator
Expected behavior
even if user are not allowed to share files in general, this still should work for deck card attachments
Server details
Nextcloud version: Nextcloud Hub 25 Autumn (32.0.1)
Deck: 1.16.3
Error deck Exception Teilen ist für dich deaktiviert
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
Reproduce the issue in Deck 1.16.3 with Nextcloud's "Limit sharing based on groups" setting enabled for a user outside the permitted group. Start by tracing the card attachment upload flow and the permission check that produces "Teilen ist für dich deaktiviert". Done means attachments upload successfully for users who cannot share files generally, while the broader sharing restriction remains enforced.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100