Hi!
I apologize if the question has been asked before, I’ve been trying to find a working example of setting up user sandboxes
.
I have a two part question:
-
I am in the process of enabling
user sandboxes
fortk-multi-workfiles
, I added auser
directory inwork
inside the schema, myuser.yml
looks like this:# the type of dynamic content type: "user_workspace" name: "login"
Regarding the
maya_asset_work
key in thetemplates.yml
, what value do I use to reference the user?# What should be the key name of current_user? Such that the active user's login will be substituted? maya_asset_work: definition: "@asset_root/work/{current_user}/maya/{name}.v{version}.{maya_extension}"
-
We have an internal server setup, where user sandboxes are maintained outside the
projects
mount. I want the user to be able to save their workfile to theusers
mount. I created a secondLocalStorage
in SG and updatedroots.yml
with the newly createdLocalStorage
details. Is this doable in any form?For ex:
primary: default: true linux_path: /mnt/projects ... local: linux_path: /mnt/workspace ...
The idea here is to use
local
as theroot_name
for theuser
directory.However, I am unable to add a
user
directory to the schema atroot
level. The user’s mount is slightly different from the project mount, basically the user’s named directory needs to be inserted before the project’s named directory./mnt/workspace/{user}/{project}/.../
which would shadow the project’s mount: (minus
user
)/mnt/pojects/{project}/.../