Add and ensure access for ES_DIRECTORY param

Change-Id: I34265edd501a9c9ee97d0c5071bdf082d663672c
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>