Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-14705

Metadata search will be broken if the search result contains schedule type with authorization enabled

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.1.0, 5.0.0, 5.1.1, 5.1.2
    • Fix Version/s: 6.1.0
    • Component/s: Metadata, Security
    • Labels:
    • Rank:
      1|i00jvz:

      Description

      In 5.0 we introduce schedule type metadata entity to mds to populate the profile metadata. Without authorization, it works fine since the authorizer will not do any filtering. With authorization enabled, the authorizer will convert the result to an Authorizable, which does not accept schedule. This will break if we add any new metadata entity to the metadata store.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yaojie Yaojie Feng
                Reporter:
                yaojie Yaojie Feng
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: