Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-2863

the roles column in Users page is broken when user-role mapping is added for URL realm

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0, 1.4.1
    • Component/s: None
    • Labels:
      None

      Description

      here is the rule role mapping config:

          <userRoleMapping>
            <userId>gsingers</userId>
            <source>url</source>
            <roles>
              <role>lucene-py</role>
              <role>admin</role>
            </roles>
          </userRoleMapping>
      

      the role config:

          <role>
            <id>asf</id>
            <name>asf</name>
            <description></description>
            <sessionTimeout>60</sessionTimeout>
            <roles>
              <role>anonymous</role>
            </roles>
          </role>
          <role>
            <id>lucene-py</id>
            <name>lucene-py</name>
            <description></description>
            <sessionTimeout>60</sessionTimeout>
            <roles>
              <role>asf</role>
            </roles>
          </role>
      

      url realm config:

      authentication-url=https://svn.sonatype.com/repos/
      url-authentication-default-role=admin
      url-authentication-email-domain=sonatype.com
      

      the broken UI is attached

      the sonatype-work folder is attached

        Attachments

          Activity

            People

            • Assignee:
              rseddon Rich Seddon
              Reporter:
              juven Juven Xu
              Last Updated By:
              Jason Dillon
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response:

                Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Time Spent - 1h 10m Remaining Estimate - 50m
                50m
                Logged:
                Time Spent - 1h 10m Remaining Estimate - 50m
                1h 10m