GEOLYTIX / xyz

An open source javascript framework for spatial data and application interfaces.
MIT License
86 stars 25 forks source link

Locale updates and merges with useridb #1355

Open dbauszus-glx opened 4 days ago

dbauszus-glx commented 4 days ago

Once we include the useridb flag in a locale we need to create test cases for changed workspaces.

A layer being added to the workspace locale should be added to the user locale.

A layer being removed from the workspace locale should be removed from the user locale.

However a user configured layer should be flagged and not be removed from the user locale. Though it might be possible that access is no longer possible due to changed roles.

A changed layer should be updated in the user locale. A modal should be used to inform about the changed layers.

At the beginning the user config will be ignored with the administrator changes having precedence.

This will require us to have some form of automated change detection by assigning a checksum when a layer is compiled by the workspace API.