nextcloud / nextcloud/notes

Group members can't see shared notes

Open
#1,627 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug need to reproduce
Dominant language
JavaScript
Stars
738
Forks
162
Avg merge
6h 2m
Merged PRs (30d)
35

Description

Steps to reproduce

  1. Create or edit a note
  2. Share it to a group
Expected behaviour

Group users should see the shared note (ideally in “Notes” app/tab)

Actual behaviour

No other user of the group can see the shared note (nor in “Notes” app/tab neither in “Files” app/tab)

Screenshots

I shared a note called "Pizza" to a group and another called "GIT" to a specific user who belongs to that group
Image
The user can only see the note shared to him directly ("GIT") not the one shared to the group ("Pizza")
Image
Sharing configuration in admin
Image

Server

Please complete the following information.

  • Notes app version: I don't know how to find that information
  • Nextcloud version: 31.0.5 (1 app is not compatible with 31.0.8 so we won't update right now)
  • OS: any
  • PHP version: 8.3.21
  • Database: mysql 11.4.7

Nextcloud configuration:

``` { "system": { "htaccess.RewriteBase": "\/", "memcache.local": "\\OC\\Memcache\\APCu", "apps_paths": [ { "path": "\/var\/www\/html\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/www\/html\/custom_apps", "url": "\/custom_apps", "writable": true } ], "upgrade.disable-web": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "192.168.1.3:8080", "***REMOVED SENSITIVE VALUE***" ], "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "31.0.5.1", "overwrite.cli.url": "http:\/\/192.168.1.3:8080", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "***REMOVED SENSITIVE VALUE***", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "app_install_overwrite": [ "***REMOVED SENSITIVE VALUE***" ], "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpauth": true, "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "maintenance": false, "maintenance_window_start": 1, "overwriteprotocol": "https", "default_phone_region": "FR" } } ```

Client

Please complete the following information.

  • Browser (incl. version): any
  • OS: Docker on Debian

Note

Sharing a note to one or more specific users works fine only group sharing isn't working as expected.

Log files

no js error on share

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 files or tests are named. Start by reproducing group sharing with the Notes app on the reported Nextcloud setup, then trace how direct-user and group permissions differ. Done means a note shared to a group appears for every group member in the Notes app/tab, with regression coverage for group visibility.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.