Mirth Connect
  1. Mirth Connect
  2. MIRTH-4154

User Authorization plugin : all user profiles are lost when upgrading to 3.5.0

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: 3.6.0, 3.5.1
    • Component/s: Administrator
    • Labels:
    • Environment:
      Windows, JDK1.8, Mirth 3.5.0

      Description

      Upon upgrading manually from 3.4.2 to 3.5.0, all user roles defined using auth plugin are lost.

      1. 3.4.2.png
        23 kB
      2. 3.5.0.png
        23 kB

        Activity

        Hide
        Nick Rupley added a comment -

        The role map should still be in the database. This appears to only happen when upgrading standalone instances; appliances are not affected.

        As a workaround, when upgrading to 3.5 make sure to extract the User Auth extension zip into the extensions folder before starting MC back up.

        Show
        Nick Rupley added a comment - The role map should still be in the database. This appears to only happen when upgrading standalone instances; appliances are not affected. As a workaround, when upgrading to 3.5 make sure to extract the User Auth extension zip into the extensions folder before starting MC back up.
        Hide
        Thomas A. added a comment - - edited

        I confirm, if the auth jars and xml are manually copied in \extensions\auth at the end of the install process, i.e. before the server gets run or the Windows service gets installed and launched, the existing roles are kept.

        THX

        Show
        Thomas A. added a comment - - edited I confirm, if the auth jars and xml are manually copied in \extensions\auth at the end of the install process, i.e. before the server gets run or the Windows service gets installed and launched, the existing roles are kept. THX
        Hide
        Minh Tran added a comment - - edited

        OS(s) and JRE version: virtual Window 7 with JRE version 1.8.0_111-b14 JRE version 1.8.0_91-b14
        Version(s)/Build(s) to reproduce failure: reported in EXTENSIONS-346
        mirthconnect-3.4.2.8129.b167-windows-x64 & auth-3.4.2.8129.b168.zip
        Version(s)/Build(s) to verify fixes:
        mirthconnect-3.5.0.8243.b175-windows-x64.exe & auth-3.5.0.8243.b177.zip
        How Tested:

        1. Setup MC 3.4.2 server with User Auth plugin
        2. Create 3 users: tester1,tester2,tester3
        3. Create 3 Roles: Alerts, Channels & Administrators
        4. Assign each role to each user respectively
        5. Backup Config
        6. Upgrade to MC 3.5.0
        7. Log in as "tester1" should have admin view at this point (no user roles)
        8. Install User Auth plugin and restart MC server
        9. Log in as "tester1" or "tester2" should have limited views (Alerts or Channels view only)
        10. Log in as "tester3" should have all views & administrative permissions

        Verified Fixed: verified that User Roles are preserved once User Auth is installed following a MC server upgrade

        Show
        Minh Tran added a comment - - edited OS(s) and JRE version: virtual Window 7 with JRE version 1.8.0_111-b14 JRE version 1.8.0_91-b14 Version(s)/Build(s) to reproduce failure: reported in EXTENSIONS-346 mirthconnect-3.4.2.8129.b167-windows-x64 & auth-3.4.2.8129.b168.zip Version(s)/Build(s) to verify fixes: mirthconnect-3.5.0.8243.b175-windows-x64.exe & auth-3.5.0.8243.b177.zip How Tested: Setup MC 3.4.2 server with User Auth plugin Create 3 users: tester1,tester2,tester3 Create 3 Roles: Alerts, Channels & Administrators Assign each role to each user respectively Backup Config Upgrade to MC 3.5.0 Log in as "tester1" should have admin view at this point (no user roles) Install User Auth plugin and restart MC server Log in as "tester1" or "tester2" should have limited views (Alerts or Channels view only) Log in as "tester3" should have all views & administrative permissions Verified Fixed: verified that User Roles are preserved once User Auth is installed following a MC server upgrade
        Hide
        Minh Tran added a comment - - edited

        QA in ROCKSOLID-1113

        Show
        Minh Tran added a comment - - edited QA in ROCKSOLID-1113

          People

          • Assignee:
            Nick Rupley
            Reporter:
            Thomas A.
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: