]> source.dussan.org Git - sonarqube.git/commit
SONAR-8152 make current user "owner" in api/organizations/create 1319/head
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Wed, 19 Oct 2016 08:38:40 +0000 (10:38 +0200)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Thu, 20 Oct 2016 15:18:44 +0000 (17:18 +0200)
commit06d4a965256c8f5e597c96d3532585697e1ba6fa
treef1b480b0124cd9c97e679ce0d4afaeb51efba761
parentff99d26ec5ba656e1963e3050806649f9e891e74
SONAR-8152 make current user "owner" in api/organizations/create

by creating a group "Owners" with all global permissions and make current user a member of this group
server/sonar-server/src/main/java/org/sonar/server/organization/ws/CreateAction.java
server/sonar-server/src/test/java/org/sonar/server/organization/ws/CreateActionTest.java
server/sonar-server/src/test/java/org/sonar/server/tester/MockUserSession.java
server/sonar-server/src/test/java/org/sonar/server/tester/UserSessionRule.java