gyselroth / balloon

High performance, feature rich document management system written for the cloud
GNU General Public License v3.0
18 stars 7 forks source link

Newly added folders from other users within a share get not added to other users descriptions #406

Closed raffis closed 4 years ago

raffis commented 5 years ago

Current situation

When a new sub folder gets added a new subscription for this folder gets created, but only for the user who created the sub folder. If another user also has an active subscription for the parent no new subscription gets made.

Another problem is how to remove such subscriptions. If a new subscriptions gets made for each sub collection it is currently not possible to remove all subscriptions from the parent collection. One has to remove each and every subscription from each node.

Should

The subscription should only be hold by the parent node. No new subscriptions shall be made after adding new sub collections. While a change occurs the notifier must fetch all subscripts from parent nodes and send the notification.

Attention: Shares are holders of subscriptions and not the references.

mathias-noethiger commented 4 years ago

case 1: I created a folder and shared it and subscribed to it including own changes As shared user I subscribed to that folder the same way.

A: works as expected I created a new subfolder over the browser (all folders empty)

B: I created a new subfolder over the desktop client I created a new file at the subfolder over the desktop client

case 2: I added an additional subscription to a subfolder of an already subscribed folder as owner (including own changes) and as shared user. A

B As owner and shared user I removed the no more working setting saved and set it the same way again and saved again. Subscription setting is working again. -> OK

Conclusion: If a parent setting is changing a subsetting the GUI should also show the new situation.