feat(structures): make structures data shape multi level
* New migration to add parentId, ancestorsIds, childrenIds * Update data structure of structure to reflect changes * Little update to structure Factory function * Add a helper function to check admin right on a structure (direct admin or ancestor admin) * Update publications (structures, services), methods (structures, users, services) to reflect new rights logics * Update test to reflect new rights logics * Add one test for new getAllChilds method * Add missing translations (i18n)
Loading