code: private CompletableFuture<Revision> replacePermissionAtPointer(Author author,
                                                                     String projectName, JsonPointer path,
                                                                     Collection<Permission> permission,
                                                                     String commitSummary) {
          final Change<JsonNode> change =
                  Change.ofJsonPatch(METADATA_JSON,
                                     new ReplaceOperation(path, Jackson.valueToTree(permission)).toJsonNode());
          return metadataRepo.push(projectName, Project.REPO_DOGMA, author, commitSummary, change);
      }
docs: Replaces {@link Permission}s of the specified {@code path} with the specified {@code permission}.