docs: public void grant(OrderedHashSet granteeList, SchemaObject dbObject,
                        Right right, Grantee grantor, boolean withGrantOption) {
  
          if (!grantor.isGrantable(dbObject, right)) {
              throw Error.error(ErrorCode.X_0L000, grantor.getNameString());
          }
  
          if (grantor.isAdmin()) {
              grantor = dbObject.getOwner();
          }
  
          checkGranteeList(granteeList);
  
          for (int i = 0; i < granteeList.size(); i++) {
              String  name    = (String) granteeList.get(i);
              Grantee grantee = get(name);
  
              grantee.grant(dbObject, right, grantor, withGrantOption);
  
              if (grantee.isRole) {
                  updateAllRights(grantee);
              }
          }
      }