code: public int deleteByRootComponentIdAndGroupId(DbSession dbSession, long rootComponentId, @Nullable Integer groupId) {
      return mapper(dbSession).deleteByRootComponentIdAndGroupId(rootComponentId, groupId);
    }
docs: Delete all permissions of the specified group (group "AnyOne" if {@code groupId} is {@code null}) for the specified
  component.