diff --git a/bin/deploy b/bin/deploy
index b297c340d9bdec3f463081ed8917c96e719dce77..dbaad7da0018a6af199adf75bb8cab31516fcd5f 100755
--- a/bin/deploy
+++ b/bin/deploy
@@ -1,8 +1,8 @@
 #!/bin/bash
 set -e
 
-if [ "$USER" != mo-web ] ; then
-	echo >&2 "Spusťte pod uživatelem mo-web na Gimlim"
+if [ "$USER" != mo-web -a "$USER" != mo-osmo-test ] ; then
+	echo >&2 "Spusťte pod uživatelem mo-web nebo mo-osmo-test na Gimlim"
 	exit 1
 fi