Add storage drive to SG while some users don't have access to drive

Hi,
Q: How do we add a new network drive to Shotgun while some users may not have access to that drive?

Context: I am planning to bring other departments, besides animation, under Shotgun workflow; for example Online Editor, and sound editors. However, while all users have access to our Primary production network drives, most of the team do not have access to some drives, in this case, most animators or asset artists don’t have access to the Editorial drives.

We have added the new storage drives to Shotgun Site Preferences, created separate Schema’s for each new drive (with different folder structures), and added the drives to the proper YAMLs. When I create a new shot in Shotgun web and run Create Folders, everything works smoothly. However, if a modeler or Comp artist tries to run Maya or Nuke in SG Desktop, the DCC does not load and Shotgun errors because the artist doesn’t have access to the Editorial network drive.

What I am not sure about is why would SG Desktop validates user’s access to network drives if the DCC does not need the folders under that drive. F.e under the Editorial drive Schema, there is no folder structure for Maya.

Is there any way to solve this problem without giving access to all drives to all users?

thanks,

1 Like

Copy the core hook process_folder_creation.py to the core/hooks folder and put the code between a try/except statement.

That’s the simplest way for this to work.

You will have to deal with error catching though.

1 Like