Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1175 Security Concerns wrt Index Definitions
  3. OAK-1181

Review node type definition for oak:queryIndexDefinition

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.15
    • core
    • None

    Description

      current definition:

      [oak:queryIndexDefinition] > nt:unstructured
        - type (STRING) mandatory
        - async (STRING)
        - reindex (BOOLEAN) mandatory IGNORE
      

      things to review:

      • name not following naming convention
      • extending from nt:unstructured
      • OPV flags (behavior upon versioning of the parent node)
      • incomplete list of properties compared to those mentioned in query.md
      • 'async' property is string with a predefined value 'async': why not boolean?
      • index content stored underneath the definition has not dedicated node type.

      things to consider:

      • is it expected that an index definition has custom properties?
      • is it expected that such custom properties have other property types that STRING/NAME/BOOLEAN? e.g. a binary?
      • is it expected that an index definition has other child nodes that the index content itself?

      Attachments

        Issue Links

          Activity

            People

              angela Angela Schreiber
              angela Angela Schreiber
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: