muesli-hd / muesli

Mathematisches Übungsgruppen- und Scheinlisten-Interface
GNU General Public License v3.0
26 stars 13 forks source link

restrict Mail addresses to a domain (MATHI#9995) #42

Open joker234 opened 6 years ago

joker234 commented 6 years ago

There should be a possibility to allow only specified mail domains for registration.

TuringTux commented 4 years ago

Which mail domains do you have in mind? My first idea was that you meant to restrict to @*.uni-heidelberg.de addresses only, but that would exclude e.g. undergraduates that do not yet have a university account (which occurs now and then, see #86), so I guess this is a reason why we shouldn't restrict mail domains.

If you had different intentions, please feel free to correct me :)

tynsh commented 4 years ago

We can allow using non uni-heidelberg.de accounts temporarily. It might be possible to use the has_updated functionality to check accounts for non uni-heidelberg.de accounts and lock them afterwards

tynsh commented 4 years ago

I think, half a year is enough time to obtain a university account. But it should be possible to allow users to extend this expiration date for people, who really need access, but will not be able to get a university account

joker234 commented 4 years ago

Don't forget about @uni-heidelberg.de, @uni-hd.de, @*.uni-hd.de ;)

tynsh commented 4 years ago

I would just check, if the suffix is [.@]uni-heidelberg.de or [.@]uni-hd.de

prof-a-schmidt commented 3 years ago

I agree. From time to time students complain that they did not receive important information. In all cases so far, these students did not use their stud-account but something like yahoo or gmx.