Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-3159

Return noLicenseStored error instead of redirect

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 3.0.0
    • 3.0.0
    • backend
    • None

      With OPT-2777, we added the License page to the React build. In order to remove the standalone license page, the backend needs to change it's behavior when no valid license is present. The current behavior is a redirect to the static license page. Instead, api calls need to return a 403 response code

       

      AT:

      • If there is no valid license stored, any request against the API returns 403 Forbidden
      • The 403 response body contains a JSON error object. The errorCode property must be set to noLicenseStoredError
      • This should also affect the public api functions (e.g. sharing)
      • The following resources should be accessible without a license:
        • all HTML, JS, CSS and font resources
        • the ui-configuration
        • the import status websocket
        • the localization files
        • the validate and store license endpoints
      • The meta endpoint is removed
      • The license.html, license.js and licenseStyles.css files are removed from /client/public

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              sebastian.stamm Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: