mirror of
https://github.com/photoprism/photoprism.git
synced 2025-09-26 21:01:58 +08:00
Tests: Adapt test config
This commit is contained in:
132
.ldap.cfg
132
.ldap.cfg
@@ -132,6 +132,134 @@ debug = false
|
||||
action = "search"
|
||||
object = "*"
|
||||
|
||||
[[users]]
|
||||
name = "jan"
|
||||
givenname = "Jan"
|
||||
objectClass = "viewer"
|
||||
displayName = "Jan Doe"
|
||||
sn = "Doe"
|
||||
userPrincipalName = "jan@example.com"
|
||||
mail = "jan@example.com"
|
||||
uidnumber = 5010
|
||||
primarygroup = 5510
|
||||
loginShell = "/bin/bash"
|
||||
otherGroups = [5505]
|
||||
passsha256 = "4314c1fe282face45336b1422a3285c5ff31a39c8e24425615fa53a43b718493" # photoprism
|
||||
[[users.customattributes]]
|
||||
photoprismRoleViewer = ["true"]
|
||||
photoprismNoLogin = ["false"]
|
||||
photoprismWebdav = ["true"]
|
||||
[[users.capabilities]]
|
||||
action = "search"
|
||||
object = "*"
|
||||
|
||||
[[users]]
|
||||
name = "anna"
|
||||
givenname = "Anna"
|
||||
objectClass = "contributor"
|
||||
displayName = "Anna Smith"
|
||||
sn = "Doe"
|
||||
userPrincipalName = "anna@example.com"
|
||||
mail = "anna@example.com"
|
||||
uidnumber = 5009
|
||||
primarygroup = 5509
|
||||
loginShell = "/bin/bash"
|
||||
otherGroups = [5505]
|
||||
passsha256 = "4314c1fe282face45336b1422a3285c5ff31a39c8e24425615fa53a43b718493" # photoprism
|
||||
[[users.customattributes]]
|
||||
photoprismUploadPath = ["users/contributor-no-path"]
|
||||
photoprismRoleContributor = ["true"]
|
||||
photoprismNoLogin = ["false"]
|
||||
photoprismWebdav = ["true"]
|
||||
[[users.capabilities]]
|
||||
action = "search"
|
||||
object = "*"
|
||||
|
||||
[[users]]
|
||||
name = "paul"
|
||||
givenname = "Paul"
|
||||
objectClass = "guest"
|
||||
displayName = "Paul Smith"
|
||||
sn = "Smith"
|
||||
userPrincipalName = "paul@example.com"
|
||||
mail = "paul@example.com"
|
||||
uidnumber = 5003
|
||||
primarygroup = 5503
|
||||
loginShell = "/bin/bash"
|
||||
otherGroups = [5503]
|
||||
passsha256 = "4314c1fe282face45336b1422a3285c5ff31a39c8e24425615fa53a43b718493" # photoprism
|
||||
[[users.customattributes]]
|
||||
photoprismRoleGuest = ["true"]
|
||||
photoprismNoLogin = ["false"]
|
||||
photoprismWebdav = ["true"]
|
||||
[[users.capabilities]]
|
||||
action = "search"
|
||||
object = "*"
|
||||
|
||||
[[users]]
|
||||
name = "carl"
|
||||
givenname = "Carl"
|
||||
objectClass = "contributor"
|
||||
displayName = "Carl Smith"
|
||||
sn = "Doe"
|
||||
userPrincipalName = "carl@example.com"
|
||||
mail = "carl@example.com"
|
||||
uidnumber = 5009
|
||||
primarygroup = 5509
|
||||
loginShell = "/bin/bash"
|
||||
otherGroups = [5505]
|
||||
passsha256 = "4314c1fe282face45336b1422a3285c5ff31a39c8e24425615fa53a43b718493" # photoprism
|
||||
[[users.customattributes]]
|
||||
photoprismUploadPath = ["users/carl"]
|
||||
photoprismRoleContributor = ["true"]
|
||||
photoprismNoLogin = ["false"]
|
||||
photoprismWebdav = ["true"]
|
||||
[[users.capabilities]]
|
||||
action = "search"
|
||||
object = "*"
|
||||
|
||||
[[users]]
|
||||
name = "sven"
|
||||
givenname = "Sven"
|
||||
objectClass = "admin"
|
||||
displayName = "Sven Smith"
|
||||
sn = "Doe"
|
||||
userPrincipalName = "sven@example.com"
|
||||
mail = "sven@example.com"
|
||||
uidnumber = 5001
|
||||
primarygroup = 5501
|
||||
loginShell = "/bin/bash"
|
||||
otherGroups = [5501, 5508]
|
||||
passsha256 = "4314c1fe282face45336b1422a3285c5ff31a39c8e24425615fa53a43b718493" # photoprism
|
||||
[[users.customattributes]]
|
||||
photoprismRoleAdmin = ["true"]
|
||||
photoprismNoLogin = ["false"]
|
||||
photoprismWebdav = ["true"]
|
||||
[[users.capabilities]]
|
||||
action = "search"
|
||||
object = "*"
|
||||
|
||||
[[users]]
|
||||
name = "max"
|
||||
givenname = "Max"
|
||||
objectClass = "admin"
|
||||
displayName = "Max Muller"
|
||||
sn = "Muller"
|
||||
userPrincipalName = "max@example.com"
|
||||
mail = "max@example.com"
|
||||
uidnumber = 5001
|
||||
primarygroup = 5501
|
||||
loginShell = "/bin/bash"
|
||||
otherGroups = [5501]
|
||||
passsha256 = "4314c1fe282face45336b1422a3285c5ff31a39c8e24425615fa53a43b718493" # photoprism
|
||||
[[users.customattributes]]
|
||||
photoprismRoleAdmin = ["true"]
|
||||
photoprismNoLogin = ["false"]
|
||||
photoprismWebdav = ["false"]
|
||||
[[users.capabilities]]
|
||||
action = "search"
|
||||
object = "*"
|
||||
|
||||
[[groups]]
|
||||
name = "PhotoPrism-admin"
|
||||
gidnumber = 5501
|
||||
@@ -167,3 +295,7 @@ debug = false
|
||||
[[groups]]
|
||||
name = "PhotoPrism-contributor"
|
||||
gidnumber = 5509
|
||||
|
||||
[[groups]]
|
||||
name = "PhotoPrism-viewer"
|
||||
gidnumber = 5510
|
Reference in New Issue
Block a user