Skip to content

Fix Postgres sharing issue #581#778

Merged
binsky08 merged 1 commit intonextcloud:masterfrom
fflorent:issue-581-fix-postgres-sharing
Jun 25, 2023
Merged

Fix Postgres sharing issue #581#778
binsky08 merged 1 commit intonextcloud:masterfrom
fflorent:issue-581-fix-postgres-sharing

Conversation

@fflorent
Copy link
Contributor

By removing the useless group by, we fix issue #581

The bug

Prerequesite:

  1. Install Nextcloud (for exemple with nextcloud-docker-dev)
  2. Choose Postgresql as database (important!)

Steps to reproduce using:

  1. Connect as admin/admin
  2. Create a vault
  3. In another browser, connect as alice/alice
  4. Create a vault
  5. As admin, create a new credential and save
  6. As admin, share the newly created credential and share with alice
  7. validate and go back to the credentials list
  8. Click on the new credential and select share
    → the sharing table is not displayed!
issue-581.webm

What is expected

issue-581-fixed.webm

@fflorent fflorent force-pushed the issue-581-fix-postgres-sharing branch 2 times, most recently from ede3647 to 88564a6 Compare June 14, 2023 19:25
@fflorent fflorent force-pushed the issue-581-fix-postgres-sharing branch from 88564a6 to 3cfb3bd Compare June 14, 2023 19:48
@binsky08
Copy link
Collaborator

I'm not sure if the grouping by user might have served an important purpose (on multi user instances).
I'll try to take a closer look at it next week, but I'm still having trouble migrating to nc27.

Copy link
Collaborator

@binsky08 binsky08 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it seems that grouping it not required for the functionality of that call
didn't find any issues with that during my short tests
thanks for the pr :)

@binsky08 binsky08 added this to the 2.4.6 milestone Jun 24, 2023
@binsky08 binsky08 merged commit 04c2d27 into nextcloud:master Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants