Ban specific sandbox location
Assignee

Reporter

Sprint
None
Description
Steps to reproduce
None
relates to
Activity
Show:

Jiri Trnka August 16, 2023 at 7:46 AM
Added check preventing using sandboxes.home as root path of a sandbox.
QA: You may try to use json in description for testing.
Follow-up to . Checks were added there so that created sandbox path is not exactly ${libraries.home} or ${workspaces.home}. However there is the same problem with ${sandboxes.home}.
To reproduce
Set up the sever with following properties (every sandbox type has own home directory):
Delete existing sandboxes - there should be 0 sandboxes.
Then use REST API to create sandbox with path equal to ${sandboxes.home}:
Such sandbox should not have been created
When it is deleted, it can be deleted with all files present in ${sandboxes.home}
Is there the same problem with local and partitioned sandbox homes? I did not try.