Merge pull request #806 from ddurnev/agents

[RJA-1788][fix]: check user access to environment configurations
[RJA-1787][fix]: variables - always show empty drop-down in case of empty values map.