Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-67387

"No type prefix: " in "Assign roles:" after updating "Matrix Authorization Strategy" to 3.0

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Not A Defect
    • matrix-auth-plugin
    • None
    • Jenkins 2.303.3
      Matrix Authorization Strategy 3.0
      JDK 11
      RH 7

    Description

      I’ve updated Matrix “Authorization Strategy” plugin from 2.6.11 to 3.0.
      Now on the “Assign Roles” configuration page, all users/groups are prefixed by:
      "No type prefix:" in red.
      I’ve understood that the new plugin needs adaptations. (https://plugins.jenkins.io/matrix-auth/#releases)
      I’ve tried to delete the users and add them newly. But as soon as I reload the page after “Save” or “Apply”, I’m back in the same situation.

      With the hint from https://community.jenkins.io/t/matrix-authorization-strategy-3-0-no-type-prefix/1043
      I added 'USER:' before my user entries - that seems to have fixed the problem.

      Some hint on that in the GUI would be really good. (and/or on the version notes https://plugins.jenkins.io/matrix-auth/#releases)

       

      Update: Unfortunately, it seems my account has lost the “Admin” permissions. Quite bad, locked myself out for the moment…
      So the "USER:..." didn't solved it seemingly.

      In home/config.xml I found:

      ...

      In home/config.xml I found:

      ...
         <roleMap type="globalRoles">
       <role name="admin" pattern=".*">
        <permissions>
      ....
      <permission>hudson.model.Hudson.Administer</permission>
      ....
      </permissions>
       <assignedSIDs>
      ...
      <sid>USER:jm044248</sid>
      ....

       

      jm044248 is me - so I would assume, I should have the Admin permissions, but....

       

      Attachments

        Issue Links

          Activity

            martinjost Martin Jost created issue -
            martinjost Martin Jost made changes -
            Field Original Value New Value
            Description I’ve updated Matrix “Authorization Strategy” plugin from 2.6.11 to 3.0.
             Now on the “Assign Roles” configuration page, all users/groups are prefixed by:
             "No type prefix:" in red.
             I’ve understood that the new plugin needs adaptations. ([https://plugins.jenkins.io/matrix-auth/#releases])
             I’ve tried to delete the users and add them newly. But as soon as I reload the page after “Save” or “Apply”, I’m back in the same situation.

            With the hint from [https://community.jenkins.io/t/matrix-authorization-strategy-3-0-no-type-prefix/1043]
            I added 'USER:' before my user entries - that seems to have fixed the problem.

            Some hint on that in the GUI would be really good. (and/or on the version notes https://plugins.jenkins.io/matrix-auth/#releases)
            I’ve updated Matrix “Authorization Strategy” plugin from 2.6.11 to 3.0.
             Now on the “Assign Roles” configuration page, all users/groups are prefixed by:
             "No type prefix:" in red.
             I’ve understood that the new plugin needs adaptations. ([https://plugins.jenkins.io/matrix-auth/#releases])
             I’ve tried to delete the users and add them newly. But as soon as I reload the page after “Save” or “Apply”, I’m back in the same situation.

            With the hint from [https://community.jenkins.io/t/matrix-authorization-strategy-3-0-no-type-prefix/1043]
             I added 'USER:' before my user entries - that seems to have fixed the problem.

            Some hint on that in the GUI would be really good. (and/or on the version notes [https://plugins.jenkins.io/matrix-auth/#releases])

             

            Update: Unfortunately, it seems my account has lost the “Admin” permissions. Quite bad, locked myself out for the moment…
            So the "USER:..." didn't solved it seemingly.
            martinjost Martin Jost made changes -
            Description I’ve updated Matrix “Authorization Strategy” plugin from 2.6.11 to 3.0.
             Now on the “Assign Roles” configuration page, all users/groups are prefixed by:
             "No type prefix:" in red.
             I’ve understood that the new plugin needs adaptations. ([https://plugins.jenkins.io/matrix-auth/#releases])
             I’ve tried to delete the users and add them newly. But as soon as I reload the page after “Save” or “Apply”, I’m back in the same situation.

            With the hint from [https://community.jenkins.io/t/matrix-authorization-strategy-3-0-no-type-prefix/1043]
             I added 'USER:' before my user entries - that seems to have fixed the problem.

            Some hint on that in the GUI would be really good. (and/or on the version notes [https://plugins.jenkins.io/matrix-auth/#releases])

             

            Update: Unfortunately, it seems my account has lost the “Admin” permissions. Quite bad, locked myself out for the moment…
            So the "USER:..." didn't solved it seemingly.
            I’ve updated Matrix “Authorization Strategy” plugin from 2.6.11 to 3.0.
             Now on the “Assign Roles” configuration page, all users/groups are prefixed by:
             "No type prefix:" in red.
             I’ve understood that the new plugin needs adaptations. ([https://plugins.jenkins.io/matrix-auth/#releases])
             I’ve tried to delete the users and add them newly. But as soon as I reload the page after “Save” or “Apply”, I’m back in the same situation.

            With the hint from [https://community.jenkins.io/t/matrix-authorization-strategy-3-0-no-type-prefix/1043]
             I added 'USER:' before my user entries - that seems to have fixed the problem.

            Some hint on that in the GUI would be really good. (and/or on the version notes [https://plugins.jenkins.io/matrix-auth/#releases])

             

            Update: Unfortunately, it seems my account has lost the “Admin” permissions. Quite bad, locked myself out for the moment…
             So the "USER:..." didn't solved it seemingly.

            In home/config.xml I found:

            {{...}}
            {{ <roleMap type="globalRoles">}}
            {{ <role name="admin" pattern=".*">}}
            {{ <permissions>}}
            {{....}}
            {{<permission>hudson.model.Hudson.Administer</permission>}}
            {{....}}
            {{</permissions>}}
            {{ <assignedSIDs>}}
            {{...}}
            {{<sid>USER:jm044248</sid>}}
            {{....}}

             

            jm044248 is me - so I would assume, I should have the Admin permissions....

             
            martinjost Martin Jost made changes -
            Description I’ve updated Matrix “Authorization Strategy” plugin from 2.6.11 to 3.0.
             Now on the “Assign Roles” configuration page, all users/groups are prefixed by:
             "No type prefix:" in red.
             I’ve understood that the new plugin needs adaptations. ([https://plugins.jenkins.io/matrix-auth/#releases])
             I’ve tried to delete the users and add them newly. But as soon as I reload the page after “Save” or “Apply”, I’m back in the same situation.

            With the hint from [https://community.jenkins.io/t/matrix-authorization-strategy-3-0-no-type-prefix/1043]
             I added 'USER:' before my user entries - that seems to have fixed the problem.

            Some hint on that in the GUI would be really good. (and/or on the version notes [https://plugins.jenkins.io/matrix-auth/#releases])

             

            Update: Unfortunately, it seems my account has lost the “Admin” permissions. Quite bad, locked myself out for the moment…
             So the "USER:..." didn't solved it seemingly.

            In home/config.xml I found:

            {{...}}
            {{ <roleMap type="globalRoles">}}
            {{ <role name="admin" pattern=".*">}}
            {{ <permissions>}}
            {{....}}
            {{<permission>hudson.model.Hudson.Administer</permission>}}
            {{....}}
            {{</permissions>}}
            {{ <assignedSIDs>}}
            {{...}}
            {{<sid>USER:jm044248</sid>}}
            {{....}}

             

            jm044248 is me - so I would assume, I should have the Admin permissions....

             
            I’ve updated Matrix “Authorization Strategy” plugin from 2.6.11 to 3.0.
             Now on the “Assign Roles” configuration page, all users/groups are prefixed by:
             "No type prefix:" in red.
             I’ve understood that the new plugin needs adaptations. ([https://plugins.jenkins.io/matrix-auth/#releases])
             I’ve tried to delete the users and add them newly. But as soon as I reload the page after “Save” or “Apply”, I’m back in the same situation.

            With the hint from [https://community.jenkins.io/t/matrix-authorization-strategy-3-0-no-type-prefix/1043]
             I added 'USER:' before my user entries - that seems to have fixed the problem.

            Some hint on that in the GUI would be really good. (and/or on the version notes [https://plugins.jenkins.io/matrix-auth/#releases])

             

            Update: Unfortunately, it seems my account has lost the “Admin” permissions. Quite bad, locked myself out for the moment…
             So the "USER:..." didn't solved it seemingly.

            In home/config.xml I found:

            {{...}}
             \{{ <roleMap type="globalRoles">}}
             \{{ <role name="admin" pattern=".*">}}
             \{{ <permissions>}}
             {{....}}
             {{<permission>hudson.model.Hudson.Administer</permission>}}
             {{....}}
             {{</permissions>}}
             \{{ <assignedSIDs>}}
             {{...}}
             {{<sid>USER:jm044248</sid>}}
             {{....}}

             

            jm044248 is me - so I would assume, I should have the Admin permissions, but....

             
            martinjost Martin Jost made changes -
            Description I’ve updated Matrix “Authorization Strategy” plugin from 2.6.11 to 3.0.
             Now on the “Assign Roles” configuration page, all users/groups are prefixed by:
             "No type prefix:" in red.
             I’ve understood that the new plugin needs adaptations. ([https://plugins.jenkins.io/matrix-auth/#releases])
             I’ve tried to delete the users and add them newly. But as soon as I reload the page after “Save” or “Apply”, I’m back in the same situation.

            With the hint from [https://community.jenkins.io/t/matrix-authorization-strategy-3-0-no-type-prefix/1043]
             I added 'USER:' before my user entries - that seems to have fixed the problem.

            Some hint on that in the GUI would be really good. (and/or on the version notes [https://plugins.jenkins.io/matrix-auth/#releases])

             

            Update: Unfortunately, it seems my account has lost the “Admin” permissions. Quite bad, locked myself out for the moment…
             So the "USER:..." didn't solved it seemingly.

            In home/config.xml I found:

            {{...}}
             \{{ <roleMap type="globalRoles">}}
             \{{ <role name="admin" pattern=".*">}}
             \{{ <permissions>}}
             {{....}}
             {{<permission>hudson.model.Hudson.Administer</permission>}}
             {{....}}
             {{</permissions>}}
             \{{ <assignedSIDs>}}
             {{...}}
             {{<sid>USER:jm044248</sid>}}
             {{....}}

             

            jm044248 is me - so I would assume, I should have the Admin permissions, but....

             
            I’ve updated Matrix “Authorization Strategy” plugin from 2.6.11 to 3.0.
             Now on the “Assign Roles” configuration page, all users/groups are prefixed by:
             "No type prefix:" in red.
             I’ve understood that the new plugin needs adaptations. ([https://plugins.jenkins.io/matrix-auth/#releases])
             I’ve tried to delete the users and add them newly. But as soon as I reload the page after “Save” or “Apply”, I’m back in the same situation.

            With the hint from [https://community.jenkins.io/t/matrix-authorization-strategy-3-0-no-type-prefix/1043]
             I added 'USER:' before my user entries - that seems to have fixed the problem.

            Some hint on that in the GUI would be really good. (and/or on the version notes [https://plugins.jenkins.io/matrix-auth/#releases])

             

            Update: Unfortunately, it seems my account has lost the “Admin” permissions. Quite bad, locked myself out for the moment…
             So the "USER:..." didn't solved it seemingly.

            In home/config.xml I found:

            {{...}}

            In home/config.xml I found:

            {{...}}
             \{{ <roleMap type="globalRoles">}}
             \{{ <role name="admin" pattern=".*">}}
             \{{ <permissions>}}
             {{....}}
             {{<permission>hudson.model.Hudson.Administer</permission>}}
             {{....}}
             {{</permissions>}}
             \{{ <assignedSIDs>}}
             {{...}}
             {{<sid>USER:jm044248</sid>}}
             {{....}}

             

            jm044248 is me - so I would assume, I should have the Admin permissions, but....

             
            martinjost Martin Jost made changes -
            Description I’ve updated Matrix “Authorization Strategy” plugin from 2.6.11 to 3.0.
             Now on the “Assign Roles” configuration page, all users/groups are prefixed by:
             "No type prefix:" in red.
             I’ve understood that the new plugin needs adaptations. ([https://plugins.jenkins.io/matrix-auth/#releases])
             I’ve tried to delete the users and add them newly. But as soon as I reload the page after “Save” or “Apply”, I’m back in the same situation.

            With the hint from [https://community.jenkins.io/t/matrix-authorization-strategy-3-0-no-type-prefix/1043]
             I added 'USER:' before my user entries - that seems to have fixed the problem.

            Some hint on that in the GUI would be really good. (and/or on the version notes [https://plugins.jenkins.io/matrix-auth/#releases])

             

            Update: Unfortunately, it seems my account has lost the “Admin” permissions. Quite bad, locked myself out for the moment…
             So the "USER:..." didn't solved it seemingly.

            In home/config.xml I found:

            {{...}}

            In home/config.xml I found:

            {{...}}
             \{{ <roleMap type="globalRoles">}}
             \{{ <role name="admin" pattern=".*">}}
             \{{ <permissions>}}
             {{....}}
             {{<permission>hudson.model.Hudson.Administer</permission>}}
             {{....}}
             {{</permissions>}}
             \{{ <assignedSIDs>}}
             {{...}}
             {{<sid>USER:jm044248</sid>}}
             {{....}}

             

            jm044248 is me - so I would assume, I should have the Admin permissions, but....

             
            I’ve updated Matrix “Authorization Strategy” plugin from 2.6.11 to 3.0.
             Now on the “Assign Roles” configuration page, all users/groups are prefixed by:
             "No type prefix:" in red.
             I’ve understood that the new plugin needs adaptations. ([https://plugins.jenkins.io/matrix-auth/#releases])
             I’ve tried to delete the users and add them newly. But as soon as I reload the page after “Save” or “Apply”, I’m back in the same situation.

            With the hint from [https://community.jenkins.io/t/matrix-authorization-strategy-3-0-no-type-prefix/1043]
             I added 'USER:' before my user entries - that seems to have fixed the problem.

            Some hint on that in the GUI would be really good. (and/or on the version notes [https://plugins.jenkins.io/matrix-auth/#releases])

             

            Update: Unfortunately, it seems my account has lost the “Admin” permissions. Quite bad, locked myself out for the moment…
             So the "USER:..." didn't solved it seemingly.

            In home/config.xml I found:

            {{...}}

            In home/config.xml I found:

            {{...}}
               <roleMap type="globalRoles">
             \{{ <role name="admin" pattern=".*">}}
             \{{ <permissions>}}
             {{....}}
             {{<permission>hudson.model.Hudson.Administer</permission>}}
             {{....}}
             {{</permissions>}}
             \{{ <assignedSIDs>}}
             {{...}}
             {{<sid>USER:jm044248</sid>}}
             {{....}}

             

            jm044248 is me - so I would assume, I should have the Admin permissions, but....

             
            martinjost Martin Jost made changes -
            Description I’ve updated Matrix “Authorization Strategy” plugin from 2.6.11 to 3.0.
             Now on the “Assign Roles” configuration page, all users/groups are prefixed by:
             "No type prefix:" in red.
             I’ve understood that the new plugin needs adaptations. ([https://plugins.jenkins.io/matrix-auth/#releases])
             I’ve tried to delete the users and add them newly. But as soon as I reload the page after “Save” or “Apply”, I’m back in the same situation.

            With the hint from [https://community.jenkins.io/t/matrix-authorization-strategy-3-0-no-type-prefix/1043]
             I added 'USER:' before my user entries - that seems to have fixed the problem.

            Some hint on that in the GUI would be really good. (and/or on the version notes [https://plugins.jenkins.io/matrix-auth/#releases])

             

            Update: Unfortunately, it seems my account has lost the “Admin” permissions. Quite bad, locked myself out for the moment…
             So the "USER:..." didn't solved it seemingly.

            In home/config.xml I found:

            {{...}}

            In home/config.xml I found:

            {{...}}
               <roleMap type="globalRoles">
             \{{ <role name="admin" pattern=".*">}}
             \{{ <permissions>}}
             {{....}}
             {{<permission>hudson.model.Hudson.Administer</permission>}}
             {{....}}
             {{</permissions>}}
             \{{ <assignedSIDs>}}
             {{...}}
             {{<sid>USER:jm044248</sid>}}
             {{....}}

             

            jm044248 is me - so I would assume, I should have the Admin permissions, but....

             
            I’ve updated Matrix “Authorization Strategy” plugin from 2.6.11 to 3.0.
             Now on the “Assign Roles” configuration page, all users/groups are prefixed by:
             "No type prefix:" in red.
             I’ve understood that the new plugin needs adaptations. ([https://plugins.jenkins.io/matrix-auth/#releases])
             I’ve tried to delete the users and add them newly. But as soon as I reload the page after “Save” or “Apply”, I’m back in the same situation.

            With the hint from [https://community.jenkins.io/t/matrix-authorization-strategy-3-0-no-type-prefix/1043]
             I added 'USER:' before my user entries - that seems to have fixed the problem.

            Some hint on that in the GUI would be really good. (and/or on the version notes [https://plugins.jenkins.io/matrix-auth/#releases])

             

            Update: Unfortunately, it seems my account has lost the “Admin” permissions. Quite bad, locked myself out for the moment…
             So the "USER:..." didn't solved it seemingly.

            In home/config.xml I found:

            {{...}}

            In home/config.xml I found:

            {{...}}
                <roleMap type="globalRoles">
             <role name="admin" pattern=".*">
              <permissions>
             {{....}}
             {{<permission>hudson.model.Hudson.Administer</permission>}}
             {{....}}
             {{</permissions>}}
             <assignedSIDs>
             {{...}}
             {{<sid>USER:jm044248</sid>}}
             {{....}}

             

            jm044248 is me - so I would assume, I should have the Admin permissions, but....

             
            danielbeck Daniel Beck made changes -
            Resolution Not A Defect [ 7 ]
            Status Open [ 1 ] Closed [ 6 ]
            kon Kalle Niemitalo made changes -
            Link This issue is related to JENKINS-67422 [ JENKINS-67422 ]
            maial Alexander Mai made changes -
            Link This issue relates to JENKINS-67393 [ JENKINS-67393 ]
            alexanderstohr Alexander Stohr made changes -
            Link This issue is related to JENKINS-68241 [ JENKINS-68241 ]

            People

              danielbeck Daniel Beck
              martinjost Martin Jost
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: