[RJA-1788][fix]: check user access to environment configurations

when processing $envConfig variable.