Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-394

JOC Manage accounts adding and removing permissions on masters create wrong permissions in shiro.ini

    XMLWordPrintable

Details

    Description

      Current situation

      • User has multiple Masters configure in the shiro.ini.
        abc_admin = sos:products:joc_cockpit:jobscheduler_master:view, \
                    abc:sos:products
        xyz_admin = sos:products:joc_cockpit:jobscheduler_master:view, \
                    xyz:sos:products			
        
      • if the user adds or removes any permissions, using JOC's Manage Accounts functionality, the shiro.ini permissions have multiple MASTER_NAME:
        abc_admin = sos:products:joc_cockpit:jobscheduler_master:view, \
                    abc:sos:products:abc:sos:products
        xyz_admin = sos:products:joc_cockpit:jobscheduler_master:view, \
                    xyz:sos:products:sos:products:commands
        
      • The JOC also shows wrong Master ID on Manage Account view.

      Desired behavior

      • The shiro.ini should not have correct permission when a user changes permission from JOC's Manage Accounts.

      Workaround

      Assign at least sos:products:joc_cockpit to the role.

      abc_admin = sos:products:joc_cockpit:jobscheduler_master:view, \
                  abc:sos:products:joc_cockpit 
      xyz_admin = sos:products:joc_cockpit:jobscheduler_master:view, \
                  xyz:sos:products:joc_cockpit 
      

      Attachments

        Activity

          People

            ur Uwe Risse
            mp Mahendra Patidar
            Mahendra Patidar Mahendra Patidar
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: