Files
huly-platform/tests/restore-local.sh
f50b0fab71 Rework processes (#9322)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Andrey Sobolev <haiodo@gmail.com>
2025-06-24 23:18:11 +05:00

13 lines
454 B
Bash
Executable File

#!/usr/bin/env bash
# Restore workspace contents in mongo/elastic
./tool-local.sh backup-restore ./sanity-ws sanity-ws --upgrade
# Re-assign user to workspace.
./tool-local.sh assign-workspace user1 sanity-ws
./tool-local.sh assign-workspace user2 sanity-ws
./tool-local.sh set-user-role user1 sanity-ws OWNER
./tool-local.sh set-user-role user2 sanity-ws OWNER
./tool-local.sh configure sanity-ws --enable=*
./tool-local.sh configure sanity-ws --list