mirror of
https://github.com/suitenumerique/drive.git
synced 2026-09-05 01:07:53 +02:00
For the same reason we not create an access when a child is created, we have to not set value to link_reach allowing null value. A root will have the link_reach set to restricted when created and then every children are set to null. when the link_configuration will be updated, descendants will be sync when the new link_reach is higher than the previous one. Also move scenarios are impacted. When moving to the root, we force the link_reach to restricted and when moving in an existing item, we sync it with parents.