Fix - subscriber custom data were not listed in correct order in the subcribers list

"Test user" field added to segment rules
Configuration option to automatically share arbitrary namespace based on user role.
This commit is contained in:
Tomas Bures 2019-01-12 11:21:38 +01:00
parent a1e52c2d7a
commit 0d7f962c86
8 changed files with 91 additions and 57 deletions

View file

@ -93,6 +93,24 @@ dbcheck(err => { // Check if database needs upgrading before starting the server
);
*/
.then(() =>
startHTTPServer(AppType.TRUSTED, 'trusted', trustedPort, () =>
startHTTPServer(AppType.SANDBOXED, 'sandbox', sandboxPort, () =>
startHTTPServer(AppType.PUBLIC, 'public', publicPort, async () => {
await privilegeHelpers.ensureMailtrainDir(uploadedFilesDir);
privilegeHelpers.dropRootPrivileges();
tzupdate.start();
log.info('Service', 'All services started');
appBuilder.setReady();
})
)
)
);
/*
.then(() =>
executor.spawn(() =>
testServer(() =>
@ -130,6 +148,7 @@ dbcheck(err => { // Check if database needs upgrading before starting the server
)
)
);
*/
});