DOCS-2245 add grantPrivilegesToRole method