From a5ee70c370a9420ba56e7685d250f2814b41d975 Mon Sep 17 00:00:00 2001 From: Steffen Jost Date: Fri, 16 Jun 2023 15:04:33 +0000 Subject: [PATCH] chore(ldap): ensure that ldap primary keys are unique --- models/users.model | 1 + 1 file changed, 1 insertion(+) diff --git a/models/users.model b/models/users.model index 38305c4f0..8a686feac 100644 --- a/models/users.model +++ b/models/users.model @@ -52,6 +52,7 @@ User json -- Each Uni2work user has a corresponding row in this table; create examOfficeGetLabels Bool default=true -- whether labels should be displayed for exam results by default UniqueAuthentication ident -- Column 'ident' can be used as a row-key in this table UniqueEmail email -- Column 'email' can be used as a row-key in this table + UniqueLdapPrimaryKey ldapPrimaryKey !force -- Column 'ldapPrimaryKey' is either empty or contains a unique value deriving Show Eq Ord Generic -- Haskell-specific settings for runtime-value representing a row in memory UserFunction -- Administratively assigned functions (lecturer, admin, evaluation, ...)