Closed jonasbardino closed 11 hours ago
Thanks for the review with good points @albu-diku .
I'll proceed with the merge and leave it for a follow-up PR to do the actual refactoring of those shared regular expression pairs parser helper either in configuration
itself or in mig.shared.base
. The args can probably be changed to use keyword_auto
values by default in the same go.
I see both pros and cons of compiling regex values right away. It would help sanity check but also add a little delay everywhere and potential bogus errors to the config parsing where the values are not even used because e.g. the matching enable_X
is False
.
Manually merged through svn
Implement fine-grained control over the permission of users to sign up using e.g.
autocreate
when the correspondingauto_add_X_user
setting is enabled. Offers regex filtering on individual user ID fields as manually submitted by user or forwarded by the ID provider of the user when external authentication sources are enabled. This is particularly useful if the ID provider has a huge user base and only some of them should be able to sign up without operator approval.