@Deprecated
  public static void grant(RpcController controller,
    AccessControlService.BlockingInterface protocol, String userShortName,
    boolean mergeExistingPermissions, Permission.Action... actions) throws ServiceException {
    List<AccessControlProtos.Permission.Action> permActions =
      Lists.newArrayListWithCapacity(actions.length);
    for (Permission.Action a : actions) {
      permActions.add(toPermissionAction(a));
    }
    AccessControlProtos.GrantRequest request =
      buildGrantRequest(userShortName, mergeExistingPermissions,
        permActions.toArray(new AccessControlProtos.Permission.Action[actions.length]));
    protocol.grant(controller, request);
  }
A utility used to grant a user global permissions.
<p>
It's also called by the shell, in case you want to find references.
@param protocol      the AccessControlService protocol proxy
@param userShortName the short name of the user to grant permissions
@param actions       the permissions to be granted
@deprecated Use {@link Admin#grant(UserPermission, boolean)} instead.
hbase-client/src/main/java/org/apache/hadoop/hbase/security/access/AccessControlUtil.java