diff --git a/models/users.model b/models/users.model index 35b9b7b22..a8a8c286d 100644 --- a/models/users.model +++ b/models/users.model @@ -13,23 +13,20 @@ -- User json -- Each Uni2work user has a corresponding row in this table; created upon first login. - ident UserIdent -- Case-insensitive user-identifier + ident UserIdent -- Case-insensitive user-identifier. Defaults to "AVSID:dddddddd" if unknown + created UTCTime default=now() passwordHash Text Maybe -- If specified, allows the user to login with credentials independently of external authentication lastAuthentication UTCTime Maybe -- When did the user last authenticate? - surname UserSurname -- Display user names always through 'nameWidget displayName surname' - displayName UserDisplayName - displayEmail UserEmail -- Case-insensitive eMail address, used for sending; leave empty for using auto-update CompanyEmail via UserCompany - email UserEmail -- Case-insensitive eMail address, used for identification and fallback for sending. Defaults to "AVSNO:dddddddd" if unknown - ident UserIdent -- Case-insensitive user-identifier. Defaults to "AVSID:dddddddd" if unknown - authentication AuthenticationMode -- 'AuthLDAP' or ('AuthPWHash'+password-hash) - lastAuthentication UTCTime Maybe -- last login date - created UTCTime default=now() lastLdapSynchronisation UTCTime Maybe ldapPrimaryKey UserEduPersonPrincipalName Maybe -- Fraport Personnel Number or Email-Prefix for @fraport.de work here tokensIssuedAfter UTCTime Maybe -- do not accept bearer tokens issued before this time (accept all tokens if null) matrikelnummer UserMatriculation Maybe -- usually a number; AVS Personalnummer; nicht Fraport Personalnummer! + surname UserSurname -- Display user names always through 'nameWidget displayName surname' firstName Text -- For export in tables, pre-split firstName from displayName title Text Maybe -- For upcoming name customisation + displayName UserDisplayName + displayEmail UserEmail -- Case-insensitive eMail address, used for sending; leave empty for using auto-update CompanyEmail via UserCompany + email UserEmail -- Case-insensitive eMail address, used for identification and fallback for sending. Defaults to "AVSNO:dddddddd" if unknown maxFavourites Int default=12 -- max number of non-manual entries in favourites bar (pruned only if below a set importance threshold) maxFavouriteTerms Int default=2 -- max number of term-sections in favourites bar theme Theme default='ThemeDefault' -- Color-theme of the frontend; user-defined