mirror of
https://github.com/owncloud/ocis
synced 2026-04-26 09:45:19 +02:00
streamline configuration
This commit is contained in:
@@ -12,12 +12,42 @@
|
||||
"selector_cookie_name": "owncloud-selector",
|
||||
"default_policy": "oc10",
|
||||
"matches_policies": [
|
||||
{"priority": 10, "property": "mail", "match": "marie@example.org", "policy": "ocis"},
|
||||
{"priority": 20, "property": "mail", "match": "[^@]+@example.org", "policy": "oc10"},
|
||||
{"priority": 30, "property": "username", "match": "(einstein|feynman)", "policy": "ocis"},
|
||||
{"priority": 40, "property": "username", "match": ".+", "policy": "oc10"},
|
||||
{"priority": 50, "property": "id", "match": "4c510ada-c86b-4815-8820-42cdf82c3d51", "policy": "ocis"},
|
||||
{"priority": 60, "property": "id", "match": "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c", "policy": "oc10"}
|
||||
{
|
||||
"priority": 10,
|
||||
"property": "mail",
|
||||
"match": "marie@example.org",
|
||||
"policy": "ocis"
|
||||
},
|
||||
{
|
||||
"priority": 20,
|
||||
"property": "mail",
|
||||
"match": "[^@]+@example.org",
|
||||
"policy": "oc10"
|
||||
},
|
||||
{
|
||||
"priority": 30,
|
||||
"property": "username",
|
||||
"match": "(einstein|feynman)",
|
||||
"policy": "ocis"
|
||||
},
|
||||
{
|
||||
"priority": 40,
|
||||
"property": "username",
|
||||
"match": ".+",
|
||||
"policy": "oc10"
|
||||
},
|
||||
{
|
||||
"priority": 50,
|
||||
"property": "id",
|
||||
"match": "4c510ada-c86b-4815-8820-42cdf82c3d51",
|
||||
"policy": "ocis"
|
||||
},
|
||||
{
|
||||
"priority": 60,
|
||||
"property": "id",
|
||||
"match": "f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c",
|
||||
"policy": "oc10"
|
||||
}
|
||||
],
|
||||
"unauthenticated_policy": "oc10"
|
||||
}
|
||||
@@ -80,6 +110,10 @@
|
||||
"endpoint": "/data",
|
||||
"backend": "http://localhost:9140"
|
||||
},
|
||||
{
|
||||
"endpoint": "/app/",
|
||||
"backend": "http://localhost:9140"
|
||||
},
|
||||
{
|
||||
"endpoint": "/graph/",
|
||||
"backend": "http://localhost:9120"
|
||||
|
||||
Reference in New Issue
Block a user