upgrade and cleanup
This commit is contained in:
@@ -27,8 +27,8 @@ public class SetupData {
|
||||
|
||||
@PostConstruct
|
||||
public void init() {
|
||||
initPrivileges();
|
||||
initOrganizations();
|
||||
initPrivileges();
|
||||
initUsers();
|
||||
}
|
||||
|
||||
@@ -57,7 +57,6 @@ public class SetupData {
|
||||
//
|
||||
final Organization org2 = new Organization("SecondOrg");
|
||||
organizationRepository.save(org2);
|
||||
|
||||
}
|
||||
|
||||
private void initPrivileges() {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
xmlns:beans="http://www.springframework.org/schema/beans"
|
||||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/security
|
||||
http://www.springframework.org/schema/security/spring-security-4.0.xsd
|
||||
http://www.springframework.org/schema/security/spring-security-4.2.xsd
|
||||
http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans.xsd">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user