Flag default-to-user-email
When set for an export config, if the user doesn't have that attribute, their email will be substituted as a default. If any of the values is not a valid email address, they are filtered out. Closes #29
This commit is contained in:
parent
1c2adb1a92
commit
149d98f90e
5 changed files with 79 additions and 37 deletions
|
|
@ -447,8 +447,7 @@
|
|||
"attributes" : {
|
||||
"ssh-key-1" : [ "hacker-ssh-key-1" ],
|
||||
"mailing-list-address-intern" : [ "hacker+intern@example.net" ],
|
||||
"ssh-key-2" : [ "hacker-ssh-key-2" ],
|
||||
"mailing-list-address-chaos" : [ "hacker+chaos@example.net" ]
|
||||
"ssh-key-2" : [ "hacker-ssh-key-2" ]
|
||||
},
|
||||
"enabled" : true,
|
||||
"createdTimestamp" : 1784376038850,
|
||||
|
|
@ -1478,7 +1477,7 @@
|
|||
"subType" : "authenticated",
|
||||
"subComponents" : { },
|
||||
"config" : {
|
||||
"allowed-protocol-mapper-types" : [ "saml-user-property-mapper", "oidc-usermodel-property-mapper", "saml-role-list-mapper", "oidc-full-name-mapper", "saml-user-attribute-mapper", "oidc-address-mapper", "oidc-usermodel-attribute-mapper", "oidc-sha256-pairwise-sub-mapper" ]
|
||||
"allowed-protocol-mapper-types" : [ "saml-user-attribute-mapper", "oidc-sha256-pairwise-sub-mapper", "oidc-usermodel-property-mapper", "saml-role-list-mapper", "oidc-usermodel-attribute-mapper", "saml-user-property-mapper", "oidc-full-name-mapper", "oidc-address-mapper" ]
|
||||
}
|
||||
}, {
|
||||
"id" : "a49de9bf-462b-4c61-bb52-0373732f4b1b",
|
||||
|
|
@ -1538,7 +1537,7 @@
|
|||
"subType" : "anonymous",
|
||||
"subComponents" : { },
|
||||
"config" : {
|
||||
"allowed-protocol-mapper-types" : [ "saml-role-list-mapper", "saml-user-attribute-mapper", "oidc-usermodel-attribute-mapper", "oidc-usermodel-property-mapper", "saml-user-property-mapper", "oidc-full-name-mapper", "oidc-address-mapper", "oidc-sha256-pairwise-sub-mapper" ]
|
||||
"allowed-protocol-mapper-types" : [ "saml-user-attribute-mapper", "oidc-usermodel-attribute-mapper", "oidc-sha256-pairwise-sub-mapper", "oidc-full-name-mapper", "saml-role-list-mapper", "oidc-usermodel-property-mapper", "oidc-address-mapper", "saml-user-property-mapper" ]
|
||||
}
|
||||
}, {
|
||||
"id" : "dd4024e9-f080-4319-aeb7-7f9906c345c5",
|
||||
|
|
@ -1605,8 +1604,9 @@
|
|||
"subComponents" : { },
|
||||
"config" : {
|
||||
"match-role" : [ "mailing-list-intern-member" ],
|
||||
"attribute-group" : [ "mailing-list-address-intern" ],
|
||||
"default-to-user-email" : [ "true" ],
|
||||
"auth-role" : [ "export-mailing-list-addresses" ],
|
||||
"attribute-group" : [ "mailing-list-address-intern" ],
|
||||
"slug" : [ "mailing-list-addresses-intern" ]
|
||||
}
|
||||
}, {
|
||||
|
|
@ -1625,8 +1625,9 @@
|
|||
"subComponents" : { },
|
||||
"config" : {
|
||||
"match-role" : [ "mailing-list-chaos-member" ],
|
||||
"auth-role" : [ "export-mailing-list-addresses" ],
|
||||
"default-to-user-email" : [ "true" ],
|
||||
"attribute-group" : [ "mailing-list-address-chaos" ],
|
||||
"auth-role" : [ "export-mailing-list-addresses" ],
|
||||
"slug" : [ "mailing-list-addresses-chaos" ]
|
||||
}
|
||||
} ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue