chore(patterns): Be more explicit

This commit is contained in:
Tom Hubrecht 2024-07-12 19:42:35 +02:00
parent eba2e68677
commit 4590bba217
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc

View file

@ -5,7 +5,7 @@
"fields": { "fields": {
"pos": 100, "pos": 100,
"name": "ENS-PSL", "name": "ENS-PSL",
"pattern": "^https?://[a-z0-9.\\-]+\\.ens\\.(fr|psl\\.eu)(/.*)?$", "pattern": "^https?://([a-z0-9.\\-]+\\.)?ens\\.(fr|psl\\.eu)(/.*)?$",
"user_field": "", "user_field": "",
"restrict_users": false, "restrict_users": false,
"proxy": false, "proxy": false,
@ -18,7 +18,7 @@
"model": "cas_server.servicepattern", "model": "cas_server.servicepattern",
"pk": 2, "pk": 2,
"fields": { "fields": {
"pos": 100, "pos": 95,
"name": "ENS related groups", "name": "ENS related groups",
"pattern": "^https?://([a-z0-9.\\-]+\\.)?(dgnum\\.(fr|eu)|hackens\\.org)(/.*)?$", "pattern": "^https?://([a-z0-9.\\-]+\\.)?(dgnum\\.(fr|eu)|hackens\\.org)(/.*)?$",
"user_field": "", "user_field": "",
@ -58,7 +58,7 @@
"pk": 2, "pk": 2,
"fields": { "fields": {
"name": "cn", "name": "cn",
"replace": "", "replace": "cn",
"service_pattern": 1 "service_pattern": 1
} }
}, },
@ -67,7 +67,7 @@
"pk": 3, "pk": 3,
"fields": { "fields": {
"name": "homeDirectory", "name": "homeDirectory",
"replace": "", "replace": "homeDirectory",
"service_pattern": 1 "service_pattern": 1
} }
}, },
@ -103,7 +103,7 @@
"pk": 7, "pk": 7,
"fields": { "fields": {
"name": "cn", "name": "cn",
"replace": "", "replace": "cn",
"service_pattern": 2 "service_pattern": 2
} }
}, },
@ -112,7 +112,7 @@
"pk": 8, "pk": 8,
"fields": { "fields": {
"name": "homeDirectory", "name": "homeDirectory",
"replace": "", "replace": "homeDirectory",
"service_pattern": 2 "service_pattern": 2
} }
}, },