nextcloud / nextcloud/deck

File attachments do not work if user is not allowed to share files

Open
#7,528 0 comments 0 reactions 0 assignees View on GitHub

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:

  1. Set "Limit sharing based on groups" to a group where the target user is not member of
  2. login as target user (the user without permissions to share files/folders
  3. Create new card or open new one in Deck
  4. Try to upload an attachment to the card/ticket
  5. 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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.