tables icon indicating copy to clipboard operation
tables copied to clipboard

Sharing with groups not functioning after renaming the group

Open gfaudriga opened this issue 3 years ago • 1 comments

I've encountered an issue when trying to share a table with a group, where a user can select a group to share with but the table does not appear under the "Shared tables" section of any group member.

I managed to recreate the bug on Tables v0.2.1 and Nextcloud 24.0.2 in the following way:

  1. Create a group "some-group-before" and a table "example-table" on your instance.
  2. Go to the users panel as an admin and change the the group's name to "some-group-after".
  3. Head back to "example-table" and navigate to sharing options.
  4. Search for the group you just renamed ("some-group-after") and select it.
  5. You can already see that the group listed under Shares is called "some-group-before" when it should be "some-group-after".
  6. If you log in as any member of the group (besides the table owner of course), the table does not appear in their Shared tables section.

This bug does not seem to appear if the group was keeps its starting name or it was re-renamed to the original ("some-group-before").

gfaudriga avatar Oct 10 '22 13:10 gfaudriga

Okay, I guess here is a hook missing. Thanks, I will add that for the first big version.

datenangebot avatar Nov 07 '22 18:11 datenangebot

fixed, shipped with v0.3.0

datenangebot avatar Feb 03 '23 20:02 datenangebot