Ban specific sandbox location

Assignee

Reporter

Sprint

Description

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.

Steps to reproduce

None

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.

Fixed

Details

Priority

Fix versions

QA Testing

UNDECIDED
Created July 31, 2023 at 7:09 AM
Updated November 1, 2023 at 4:46 PM
Resolved August 16, 2023 at 7:46 AM