code: public void applyDefault(DbSession dbSession, ComponentDto component, @Nullable Integer projectCreatorUserId) {
      PermissionTemplateDto template = findTemplate(dbSession, component);
      checkArgument(template != null, "Cannot retrieve default permission template");
      copyPermissions(dbSession, template, component, projectCreatorUserId);
    }
docs: Apply the default permission template to project. The project can already exist (so it has permissions) or
  can be provisioned (so has no permissions yet).
  @param projectCreatorUserId id of the user who creates the project, only if project is provisioned. He will