[COOK-4662] Added support for access control

[COOK-4662] Added support for access control