Collections permissions/roles are being removed if the application authorization request returns an error code

XMLWordPrintable

    • Not defined

      Problem:

      • given:
        • I have an engine with several users that have access to Optimize
        • Optimize has successfully synced the users and imported the engine data
        • I create a collection in Optimize and add several user roles
      • when:
        • Optimize starts another identity sync
        • the request to the engine for fetching the application authorizations returns a response with a status other than 200 OK, e.g. 500 server error
      • then:
        • all the roles of the collections are being removed from the collections
      • expected:
        • there are to options that need to be discussed:
          • either Optimize does a retry with backoff until it fetches all the application authorizations successfully
          • it stops the sync and does another retry when the identity sync is triggered again

      Hint:

      • it might make sense to have a look all the engine failing tests if those are considering both request failures, wrong status code and connection interruptions
      • we might want to create a utility class that allows to perform a fetch with retry which we've already implemented in other places, e.g. the import

            Assignee:
            Unassigned
            Reporter:
            Johannes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: