-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Is there an existing issue for this?
- I have searched the existing issues and added correct labels.
Please describe the feature you have in mind and explain what the current shortcomings are?
Use case with current behavior and its issues
While SiteSync is disabled, the anatomy settings are handling the root paths for all users' computers, as a studio manager I can decide where everything is published or workfiles stored. Let's consider all machines work on a server if my studio grows too big and the server cannot handle the charge any more, I want to switch to a cache system, where users would be working and publishing locally, while their representations would be synced in background to a main server.
I enable SiteSync, configure to local and studio as default sites, and... everything breaks. Because of the requirement of Local roots overrides, which is by default some abstract path (see #50), no workfile cannot be retrieved any more. But I still want to keep local root paths consistent across all my users' machines, so I have to ask all 200 of them to open their ayon settings and set several values (one for each root value created) to Local roots overrides without any error, which is a big mess. As a studio manager I want to be able to manage local root paths from the studio settings (as it was behaving before I enabled SiteSync).
NB: The Local roots overrides setting is still useful in the case of home remote working users using their own machines but shouldn't be mandatory.
Things to keep in mind
When SiteSync is enabled, active and remote sites are set to studio by default because it expects all users were working on a studio-only configuration. This default setting prevents the breaking described above when active site is set to local. That is because all previously published representation will be marked as studio synced to ensure the system can resolve the paths accurately.
Proposal
- Main settings (currently known as Studio settings) would configure root paths for
localsite settings, this way a studio manager can effectively manage paths consistency in the whole pool of machines. Local roots overrideswould be empty by default Default local roots overrides setting messes the studio roots configuration #50- SiteSync would have a default site created called
studiowith roots filled from Project anatomy roots. Maybe this site roots could be not deletable.

from:

ActiveandRemoteSite would remain set tostudio, this way it'll behave the same without breaking anything.
With this architecture, I could change active default site to local and then set project anatomy roots to a local path (e.g ~/_AYON/PRODUCT) to configure seamlessly a "cache" system for the whole studio.
Suggested implementation?
No response
Describe alternatives you've considered:
Asking to each user to set the Local roots overrides to each sites related to their account with the appropriate value by hand.