Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-1351

Impersonate action reload the administration ...

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.0
    • 4.0 alpha
    • None
    • None
    • 4.1 M5

      It is not the purpose of this function !!

      We want to be redirect to back-office interface with the user credentials

          [RUNTIME-1351] Impersonate action reload the administration ...

          maybe the 3s delay was to avoid the "your are not connected anymore popup" taht can arrive if you have no admin rights with the new user

          We could try a

          Ametys.shutdown("Impersonnification", "Your were disconnected and reconnected with the user 'toto")
          document.location.href = ...
          

          Raphaël Franchet added a comment - maybe the 3s delay was to avoid the "your are not connected anymore popup" taht can arrive if you have no admin rights with the new user We could try a Ametys.shutdown( "Impersonnification" , "Your were disconnected and reconnected with the user 'toto" ) document.location.href = ...

          The issue is happening only on root contextpath

          Raphaël Franchet added a comment - The issue is happening only on root contextpath

          Raphaël Franchet added a comment - - edited

          Opening the main application is optionnal
          Reloading the admin is mandatory, since the user connected is not the same anymore !

          Moreover a 3sec delay to read the popup has been added here RUNTIME-2363... but I do not agree, it should be removed

          Raphaël Franchet added a comment - - edited Opening the main application is optionnal Reloading the admin is mandatory, since the user connected is not the same anymore ! Moreover a 3sec delay to read the popup has been added here RUNTIME-2363 ... but I do not agree, it should be removed

          I reopen because it's still the case

          Delphine Gavalda (Inactive) added a comment - I reopen because it's still the case

          Ametys.openWindow(Ametys.CONTEXT_PATH)

          Laurence Aumeunier added a comment - Ametys.openWindow(Ametys.CONTEXT_PATH)

            laurence Laurence Aumeunier
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: