Changed service permission checks to fail when user doesn't have access rights.

This commit is contained in:
Markus Makela
2015-08-28 17:39:17 +03:00
parent 00a3d7eb56
commit 45227c8875
2 changed files with 5 additions and 3 deletions

View File

@ -898,7 +898,7 @@ process_config_context(CONFIG_CONTEXT *context)
s = strtok_r(NULL, ",", &lasts);
}
}
else if (servers == NULL && !isInternalService(router))
else if (servers == NULL && !isInternalService(router) && strcmp(router,"binlogrouter"))
{
LOGIF(LE, (skygw_log_write_flush(
LOGFILE_ERROR,