configuration-as-code-plugin icon indicating copy to clipboard operation
configuration-as-code-plugin copied to clipboard

Verify Matrix Authorization Strategy plugin compatibility

Open ewelinawilkosz opened this issue 9 years ago • 7 comments

https://plugins.jenkins.io/matrix-auth

ewelinawilkosz avatar Nov 24 '17 08:11 ewelinawilkosz

Moved from incorrect issue: matrix plugin is being configured under 'Configure Global Security' page, not 'Configure System,' and I can't find matrix plugin at the list of discovered configurators (descriptors), no global.jelly file also - @ndeloof can you confirm it is an issue now or is there already a solution I simply can't find?

ewelinawilkosz avatar Dec 08 '17 09:12 ewelinawilkosz

should be configured the same way as LDAP plugin

jenkins:
    authorizationStrategy: 
        globalMatrix:
            ...

But https://github.com/jenkinsci/matrix-auth-plugin/blob/master/src/main/java/hudson/security/GlobalMatrixAuthorizationStrategy.java#L171 does not rely on a DataBoundConstructor (sic). Would need to prepare a PR for this one to use the standard mechanisms.

ndeloof avatar Dec 08 '17 10:12 ndeloof

my colleague @MadsNielsen is working on this he said .... so assigning him.

buep avatar Feb 05 '18 09:02 buep

FYI I am working on #48, which may have more or less similar implementation.

oleg-nenashev avatar Feb 05 '18 10:02 oleg-nenashev

@oleg-nenashev That's great, i might steal some stuff for inspiration. For me, this is a rather large task so i might glean on some of the stuff you do for inspiration.

MadsNielsen avatar Feb 05 '18 10:02 MadsNielsen

@MadsNielsen OK, Role Strategy support has landed in the master. For Matrix Auth support please also request review from @daniel-beck

oleg-nenashev avatar Feb 06 '18 14:02 oleg-nenashev

@ewelinawilkosz I believe this can be closed.

MadsNielsen avatar Feb 12 '18 11:02 MadsNielsen