class tree preferences are stored as PROJECT-USER settings, meaning they are specific to the logged-in user within a given project. This is why the changes persist only when you're authenticated, not for public users.
In principle, you could define a default for this PU setting, but:
- currently the class tree preferences editor does not allow managing defaults
- the low-level Settings Mgr editor (the one you mentioned in the related discussion) is available in VB but not in SV.
Therefore, the only option is to edit the settings file directly at:
SemanticTurkeyData/projects/PROJ_NAME/plugins/it.uniroma2.art.semanticturkey.settings.core.SemanticTurkeyCoreSettingsManager/pu-settings-defaults.propsby adding something like
classTree:
rootClass: <http://example#CustomRootClass>
Please notice that there is a limitation: if users (authenticated or not) have already customized their class tree preferences, the default will not override their choice, so they won’t see the change.