Changed service permission checks to fail when user doesn't have access rights.
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user