user_external icon indicating copy to clipboard operation
user_external copied to clipboard

Restrict creation of Useraccounts

Open kruegermedia opened this issue 4 years ago • 4 comments

Hello, the feature of restricting the automatic creation of useraccounts would be nice.

Right now when it comes to IMAP for example, every valid account of the configured domain is able to log in and creates - if not existing - a new account.

In combination with the feature requests: #21 #28 it would round up nicely

kind regards

kruegermedia avatar Mar 23 '20 22:03 kruegermedia

I get the idea behind this... but how is this supposed to be configurable? via a custom regex matching? (which makes it very technical)

violoncelloCH avatar Apr 10 '20 14:04 violoncelloCH

Hello, long time no see, excuse me for that...

Regex could be an option, but an explicit whitelist would be an easier, not so technical, option.

kruegermedia avatar Sep 03 '20 09:09 kruegermedia

seems we have an approach for this in #149 but to be honest I'm not really sure if this is something we should add...

violoncelloCH avatar Oct 04 '20 19:10 violoncelloCH

I have question to this topic - if I have some users added manually and some users from IMAP server I don't want to have option to login on Nextcloud/nor create account in Nextcloud while they trying to login - what I should do? Could there be some option like: autocreate_user = true/false ? Maybe this would be simpler than start with regex by default?

kamilko avatar Oct 05 '21 20:10 kamilko