1
0

login-credentials without RBAC (#173)

Co-authored-by: Michael Hoennig <michael@hoennig.de>
Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/173
Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
This commit is contained in:
Michael Hoennig
2025-05-19 12:00:35 +02:00
parent 965866dadc
commit 58096c1510
55 changed files with 2232 additions and 79 deletions

View File

@@ -0,0 +1,49 @@
classDiagram
direction LR
OfficePerson o.. "*" LoginCredentials
LoginCredentials "1" o-- "1" RbacSubject
LoginContext "1..n" --o "1" LoginContextMapping
LoginCredentials "1..n" --o "1" LoginContextMapping
class LoginCredentials{
+twoFactorAuth: text
+telephonePassword: text
+emailAdress: text
+smsNumber: text
-active: bool [r/w]
-globalUid: int [w/o]
-globalGid: int [w/o]
-onboardingToken: text [w/o]
}
class LoginContext{
-type: Enum [SSH, Matrix, Mastodon, ...]
-qualifier: text
}
class LoginContextMapping{
}
note for LoginContextMapping "Assigns LoginCredentials to LoginContexts"
class RbacSubject{
+uuid: uuid
+name: text # == nickname
}
class OfficePerson{
+type: enum
+tradename: text
+title: text
+familyName: text
+givenName: text
+salutation: text
}
style LoginContext fill:#00f,color:#fff
style LoginContextMapping fill:#00f,color:#fff
style LoginCredentials fill:#00f,color:#fff
style RbacSubject fill:#f96,color:#fff
style OfficePerson fill:#f66,color:#000