aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2017-02-10 00:03:40 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-02-10 23:32:47 +0100
commit19176a4d8c759dc3bd376701dd4bf51c7b0ca08b (patch)
tree924c3b751082e1ab383978a9cf8b1b287a71ad08
parent11416daf3e996fe08213faf52ebe376fb999a71f (diff)
downloadsonarqube-19176a4d8c759dc3bd376701dd4bf51c7b0ca08b.tar.gz
sonarqube-19176a4d8c759dc3bd376701dd4bf51c7b0ca08b.zip
SONAR-8761 add dev script enable_organizations.sh
-rwxr-xr-xenable_organizations.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/enable_organizations.sh b/enable_organizations.sh
new file mode 100755
index 00000000000..a671d0bf6d6
--- /dev/null
+++ b/enable_organizations.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+# the user "admin" becomes root and can create organizations
+
+curl -XPOST -u admin:admin "http://localhost:9000/api/organizations/enable_support"