ldap-rest 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abstract/ldapFlat.js +1 -1
- package/dist/abstract/plugin.js +1 -1
- package/dist/bin/index.js +1 -1
- package/dist/config/args.js +1 -1
- package/dist/config/schema.js +1 -0
- package/dist/lib/expressFormatedResponses.js +1 -1
- package/dist/lib/ldapActions.js +1 -1
- package/dist/lib/utils.js +1 -1
- package/dist/plugins/auth/authzScope.js +1 -0
- package/dist/plugins/auth/llng.js +1 -1
- package/dist/plugins/ldap/accountLifecycle.js +1 -0
- package/dist/plugins/ldap/bulkImport.js +1 -1
- package/dist/plugins/ldap/departmentSync.js +1 -1
- package/dist/plugins/ldap/enterpriseRules.js +1 -0
- package/dist/plugins/ldap/externalUsersInGroups.js +1 -1
- package/dist/plugins/ldap/flatGeneric.js +1 -1
- package/dist/plugins/ldap/groups.js +1 -1
- package/dist/plugins/ldap/organizations.js +1 -1
- package/dist/plugins/scim/groups.js +1 -1
- package/dist/plugins/twake/calendar.js +1 -0
- package/dist/plugins/twake/calendarResources.js +1 -1
- package/dist/plugins/twake/james.js +1 -1
- package/dist/src/abstract/ldapFlat.d.ts +159 -1
- package/dist/src/abstract/plugin.d.ts +13 -0
- package/dist/src/config/args.d.ts +2 -0
- package/dist/src/config/schema.d.ts +382 -12
- package/dist/src/lib/expressFormatedResponses.d.ts +14 -0
- package/dist/src/lib/ldapActions.d.ts +33 -6
- package/dist/src/lib/utils.d.ts +65 -0
- package/dist/src/plugins/auth/authzScope.d.ts +53 -0
- package/dist/src/plugins/auth/llng.d.ts +30 -1
- package/dist/src/plugins/ldap/accountLifecycle.d.ts +56 -0
- package/dist/src/plugins/ldap/departmentSync.d.ts +43 -0
- package/dist/src/plugins/ldap/enterpriseRules.d.ts +436 -0
- package/dist/src/plugins/ldap/flatGeneric.d.ts +29 -0
- package/dist/src/plugins/ldap/groups.d.ts +22 -0
- package/dist/src/plugins/ldap/organizations.d.ts +25 -4
- package/dist/src/plugins/twake/calendar.d.ts +113 -0
- package/dist/src/plugins/twake/calendarResources.d.ts +9 -58
- package/docs/README.md +1 -0
- package/docs/client-development/api/openapi.md +1 -1
- package/docs/client-development/browser/libraries.md +1 -1
- package/docs/plugin-development/dependencies.md +10 -7
- package/docs/presentations/en.md +1 -1
- package/docs/presentations/fr.md +1 -1
- package/docs/usage/README.md +1 -0
- package/docs/usage/configuration.md +35 -15
- package/docs/usage/directory-audit.md +105 -0
- package/docs/usage/plugins/README.md +6 -6
- package/docs/usage/plugins/auth/README.md +6 -5
- package/docs/usage/plugins/auth/authz-scope.md +103 -0
- package/docs/usage/plugins/auth/llng.md +17 -0
- package/docs/usage/plugins/integrations/README.md +5 -5
- package/docs/usage/plugins/integrations/{calendar-resources.md → calendar.md} +70 -13
- package/docs/usage/plugins/ldap/README.md +13 -11
- package/docs/usage/plugins/ldap/account-lifecycle.md +129 -0
- package/docs/usage/plugins/ldap/bulk-import.md +8 -1
- package/docs/usage/plugins/ldap/enterprise-rules.md +167 -0
- package/docs/usage/plugins/ldap/flat-generic.md +172 -0
- package/docs/usage/plugins/ldap/groups.md +10 -4
- package/docs/usage/plugins/ldap/organizations.md +59 -33
- package/docs/usage/upgrading.md +322 -0
- package/package.json +50 -5
- package/static/schemas/example/README.md +36 -0
- package/static/schemas/example/groups.json +94 -0
- package/static/schemas/example/nomenclature/domains.json +49 -0
- package/static/schemas/example/organizations.json +106 -0
- package/static/schemas/example/positions.json +35 -0
- package/static/schemas/example/users.json +246 -0
- package/static/schemas/twake/groups.json +81 -15
- package/static/schemas/twake/nomenclature/twakeAccountStatus.json +26 -0
- package/static/schemas/twake/nomenclature/twakeDeliveryMode.json +22 -0
- package/static/schemas/twake/nomenclature/twakeDomain.json +60 -0
- package/static/schemas/twake/nomenclature/twakeListType.json +22 -0
- package/static/schemas/twake/nomenclature/twakeMailboxType.json +22 -0
- package/static/schemas/twake/nomenclature/twakeTitle.json +42 -0
- package/static/schemas/twake/organizations.json +92 -12
- package/static/schemas/twake/positions.json +22 -4
- package/static/schemas/twake/users.json +269 -32
|
@@ -5,6 +5,28 @@
|
|
|
5
5
|
"objectClass": ["top", "applicationProcess"],
|
|
6
6
|
"singularName": "mailboxType",
|
|
7
7
|
"pluralName": "mailboxTypes",
|
|
8
|
+
"label": {
|
|
9
|
+
"en": "Group types",
|
|
10
|
+
"fr": "Types de groupe"
|
|
11
|
+
},
|
|
12
|
+
"singularLabel": {
|
|
13
|
+
"en": "group type",
|
|
14
|
+
"fr": "type de groupe"
|
|
15
|
+
},
|
|
16
|
+
"valueLabels": {
|
|
17
|
+
"group": {
|
|
18
|
+
"en": "Group",
|
|
19
|
+
"fr": "Groupe"
|
|
20
|
+
},
|
|
21
|
+
"mailingList": {
|
|
22
|
+
"en": "Distribution list",
|
|
23
|
+
"fr": "Liste de diffusion"
|
|
24
|
+
},
|
|
25
|
+
"teamMailbox": {
|
|
26
|
+
"en": "Shared mailbox",
|
|
27
|
+
"fr": "Boîte partagée"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
8
30
|
"base": "ou=twakeMailboxType,ou=nomenclature,{ldap_base}"
|
|
9
31
|
},
|
|
10
32
|
"strict": true,
|
|
@@ -5,6 +5,48 @@
|
|
|
5
5
|
"objectClass": ["top", "applicationProcess"],
|
|
6
6
|
"singularName": "title",
|
|
7
7
|
"pluralName": "titles",
|
|
8
|
+
"label": {
|
|
9
|
+
"en": "Titles",
|
|
10
|
+
"fr": "Civilités"
|
|
11
|
+
},
|
|
12
|
+
"singularLabel": {
|
|
13
|
+
"en": "title",
|
|
14
|
+
"fr": "civilité"
|
|
15
|
+
},
|
|
16
|
+
"valueLabels": {
|
|
17
|
+
"Dr": {
|
|
18
|
+
"en": "Dr",
|
|
19
|
+
"fr": "Dr"
|
|
20
|
+
},
|
|
21
|
+
"Mr": {
|
|
22
|
+
"en": "Mr",
|
|
23
|
+
"fr": "M."
|
|
24
|
+
},
|
|
25
|
+
"Mrs": {
|
|
26
|
+
"en": "Mrs",
|
|
27
|
+
"fr": "Mme"
|
|
28
|
+
},
|
|
29
|
+
"Miss": {
|
|
30
|
+
"en": "Miss",
|
|
31
|
+
"fr": "Mlle"
|
|
32
|
+
},
|
|
33
|
+
"Ms": {
|
|
34
|
+
"en": "Ms",
|
|
35
|
+
"fr": "Mme"
|
|
36
|
+
},
|
|
37
|
+
"Prof": {
|
|
38
|
+
"en": "Prof.",
|
|
39
|
+
"fr": "Pr"
|
|
40
|
+
},
|
|
41
|
+
"Hon": {
|
|
42
|
+
"en": "Hon.",
|
|
43
|
+
"fr": "Honorable"
|
|
44
|
+
},
|
|
45
|
+
"Excellence": {
|
|
46
|
+
"en": "Excellency",
|
|
47
|
+
"fr": "Excellence"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
8
50
|
"base": "ou=twakeTitle,ou=nomenclature,{ldap_base}"
|
|
9
51
|
},
|
|
10
52
|
"strict": true,
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
{
|
|
2
|
+
"entity": {
|
|
3
|
+
"label": {
|
|
4
|
+
"en": "Organizations",
|
|
5
|
+
"fr": "Organisations"
|
|
6
|
+
},
|
|
7
|
+
"singularLabel": {
|
|
8
|
+
"en": "organization",
|
|
9
|
+
"fr": "organisation"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
2
12
|
"strict": true,
|
|
3
13
|
"attributes": {
|
|
4
14
|
"objectClass": {
|
|
@@ -13,40 +23,110 @@
|
|
|
13
23
|
},
|
|
14
24
|
"ou": {
|
|
15
25
|
"type": "string",
|
|
16
|
-
"
|
|
17
|
-
"
|
|
26
|
+
"searchable": true,
|
|
27
|
+
"test": "^[A-Za-zÀ-ÖØ-öø-ÿ0-9][A-Za-zÀ-ÖØ-öø-ÿ0-9 ()&/,.'’_-]{0,254}$",
|
|
28
|
+
"hint": "Letters, digits, spaces and ( ) & / , . ' - _, starting with a letter or a digit",
|
|
29
|
+
"required": true,
|
|
30
|
+
"unique": true,
|
|
31
|
+
"role": "identifier",
|
|
32
|
+
"label": {
|
|
33
|
+
"en": "Name",
|
|
34
|
+
"fr": "Nom"
|
|
35
|
+
}
|
|
18
36
|
},
|
|
19
37
|
"description": {
|
|
20
38
|
"type": "string",
|
|
21
|
-
"
|
|
39
|
+
"searchable": true,
|
|
40
|
+
"required": false,
|
|
41
|
+
"label": {
|
|
42
|
+
"en": "Description",
|
|
43
|
+
"fr": "Description"
|
|
44
|
+
}
|
|
22
45
|
},
|
|
23
46
|
"telephoneNumber": {
|
|
24
|
-
"type": "
|
|
25
|
-
"
|
|
47
|
+
"type": "array",
|
|
48
|
+
"items": {
|
|
49
|
+
"type": "string"
|
|
50
|
+
},
|
|
51
|
+
"required": false,
|
|
52
|
+
"label": {
|
|
53
|
+
"en": "Phone",
|
|
54
|
+
"fr": "Téléphone"
|
|
55
|
+
}
|
|
26
56
|
},
|
|
27
57
|
"facsimileTelephoneNumber": {
|
|
28
58
|
"type": "string",
|
|
29
|
-
"required": false
|
|
59
|
+
"required": false,
|
|
60
|
+
"label": {
|
|
61
|
+
"en": "Fax",
|
|
62
|
+
"fr": "Fax"
|
|
63
|
+
}
|
|
30
64
|
},
|
|
31
65
|
"l": {
|
|
32
66
|
"type": "string",
|
|
33
|
-
"required": false
|
|
67
|
+
"required": false,
|
|
68
|
+
"label": {
|
|
69
|
+
"en": "Locality",
|
|
70
|
+
"fr": "Commune"
|
|
71
|
+
}
|
|
34
72
|
},
|
|
35
73
|
"postalAddress": {
|
|
36
74
|
"type": "string",
|
|
37
|
-
"required": false
|
|
75
|
+
"required": false,
|
|
76
|
+
"label": {
|
|
77
|
+
"en": "Address",
|
|
78
|
+
"fr": "Adresse"
|
|
79
|
+
}
|
|
38
80
|
},
|
|
39
81
|
"twakeDepartmentPath": {
|
|
40
82
|
"type": "string",
|
|
41
|
-
"test": "^[\\
|
|
42
|
-
"required": true
|
|
83
|
+
"test": "^[^\\r\\n]{1,4096}$",
|
|
84
|
+
"required": true,
|
|
85
|
+
"generated": true,
|
|
86
|
+
"role": "organizationPath",
|
|
87
|
+
"label": {
|
|
88
|
+
"en": "Path",
|
|
89
|
+
"fr": "Chemin"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"twakeManagerLink": {
|
|
93
|
+
"type": "array",
|
|
94
|
+
"items": {
|
|
95
|
+
"type": "pointer",
|
|
96
|
+
"branch": ["ou=users,__LDAP_BASE__"]
|
|
97
|
+
},
|
|
98
|
+
"required": false,
|
|
99
|
+
"role": "managers",
|
|
100
|
+
"label": {
|
|
101
|
+
"en": "Managers",
|
|
102
|
+
"fr": "Responsables"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"twakeDomainLink": {
|
|
106
|
+
"type": "array",
|
|
107
|
+
"items": {
|
|
108
|
+
"type": "pointer",
|
|
109
|
+
"branch": ["ou=domains,ou=nomenclature,__LDAP_BASE__"]
|
|
110
|
+
},
|
|
111
|
+
"required": false,
|
|
112
|
+
"role": "domainLink",
|
|
113
|
+
"label": {
|
|
114
|
+
"en": "Mail domains",
|
|
115
|
+
"fr": "Domaines de messagerie"
|
|
116
|
+
}
|
|
43
117
|
},
|
|
44
118
|
"twakeLocalAdminLink": {
|
|
45
119
|
"type": "array",
|
|
46
120
|
"items": {
|
|
47
|
-
"type": "
|
|
121
|
+
"type": "pointer",
|
|
122
|
+
"branch": ["ou=users,__LDAP_BASE__"]
|
|
48
123
|
},
|
|
49
|
-
"required": false
|
|
124
|
+
"required": false,
|
|
125
|
+
"role": "localAdmins",
|
|
126
|
+
"label": {
|
|
127
|
+
"en": "Local administrators",
|
|
128
|
+
"fr": "Administrateurs locaux"
|
|
129
|
+
}
|
|
50
130
|
}
|
|
51
131
|
}
|
|
52
132
|
}
|
|
@@ -5,7 +5,15 @@
|
|
|
5
5
|
"objectClass": ["top", "twakePosition"],
|
|
6
6
|
"singularName": "position",
|
|
7
7
|
"pluralName": "positions",
|
|
8
|
-
"base": "ou=positions,{ldap_base}"
|
|
8
|
+
"base": "ou=positions,{ldap_base}",
|
|
9
|
+
"label": {
|
|
10
|
+
"en": "Positions",
|
|
11
|
+
"fr": "Postes"
|
|
12
|
+
},
|
|
13
|
+
"singularLabel": {
|
|
14
|
+
"en": "position",
|
|
15
|
+
"fr": "poste"
|
|
16
|
+
}
|
|
9
17
|
},
|
|
10
18
|
"strict": true,
|
|
11
19
|
"attributes": {
|
|
@@ -21,12 +29,22 @@
|
|
|
21
29
|
},
|
|
22
30
|
"cn": {
|
|
23
31
|
"type": "string",
|
|
24
|
-
"test": "^[
|
|
25
|
-
"
|
|
32
|
+
"test": "^[A-Za-zÀ-ÖØ-öø-ÿ0-9][A-Za-zÀ-ÖØ-öø-ÿ0-9 &/,.'’-]*$",
|
|
33
|
+
"hint": "Letters, digits, spaces and & / , . ' -, starting with a letter or a digit",
|
|
34
|
+
"required": true,
|
|
35
|
+
"role": "identifier",
|
|
36
|
+
"label": {
|
|
37
|
+
"en": "Name",
|
|
38
|
+
"fr": "Nom"
|
|
39
|
+
}
|
|
26
40
|
},
|
|
27
41
|
"description": {
|
|
28
42
|
"type": "string",
|
|
29
|
-
"required": false
|
|
43
|
+
"required": false,
|
|
44
|
+
"label": {
|
|
45
|
+
"en": "Description",
|
|
46
|
+
"fr": "Description"
|
|
47
|
+
}
|
|
30
48
|
}
|
|
31
49
|
}
|
|
32
50
|
}
|
|
@@ -5,7 +5,15 @@
|
|
|
5
5
|
"objectClass": ["top", "twakeAccount", "twakeWhitePages"],
|
|
6
6
|
"singularName": "user",
|
|
7
7
|
"pluralName": "users",
|
|
8
|
-
"base": "ou=users,__ldap_base__"
|
|
8
|
+
"base": "ou=users,__ldap_base__",
|
|
9
|
+
"label": {
|
|
10
|
+
"en": "Users",
|
|
11
|
+
"fr": "Utilisateurs"
|
|
12
|
+
},
|
|
13
|
+
"singularLabel": {
|
|
14
|
+
"en": "user",
|
|
15
|
+
"fr": "utilisateur"
|
|
16
|
+
}
|
|
9
17
|
},
|
|
10
18
|
"strict": true,
|
|
11
19
|
"attributes": {
|
|
@@ -21,80 +29,295 @@
|
|
|
21
29
|
},
|
|
22
30
|
"uid": {
|
|
23
31
|
"type": "string",
|
|
32
|
+
"searchable": true,
|
|
24
33
|
"test": "^[a-zA-Z0-9._-]{1,255}$",
|
|
25
34
|
"required": true,
|
|
26
|
-
"role": "identifier"
|
|
35
|
+
"role": "identifier",
|
|
36
|
+
"generated": true,
|
|
37
|
+
"generatedFrom": {
|
|
38
|
+
"attribute": "mail",
|
|
39
|
+
"extract": "^([^@]+)@",
|
|
40
|
+
"lowercase": true,
|
|
41
|
+
"strip": "[^a-zA-Z0-9._-]",
|
|
42
|
+
"onCollision": "suffix"
|
|
43
|
+
},
|
|
44
|
+
"label": {
|
|
45
|
+
"en": "Identifier",
|
|
46
|
+
"fr": "Identifiant"
|
|
47
|
+
}
|
|
27
48
|
},
|
|
28
|
-
"
|
|
49
|
+
"employeeNumber": {
|
|
29
50
|
"type": "string",
|
|
51
|
+
"searchable": true,
|
|
30
52
|
"required": true,
|
|
31
|
-
"
|
|
53
|
+
"unique": { "sentinel": "UNIT" },
|
|
54
|
+
"role": "employeeId",
|
|
55
|
+
"label": {
|
|
56
|
+
"en": "Employee ID",
|
|
57
|
+
"fr": "Matricule"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"cn": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"searchable": true,
|
|
63
|
+
"required": false,
|
|
64
|
+
"label": {
|
|
65
|
+
"en": "Common name",
|
|
66
|
+
"fr": "Nom d'annuaire"
|
|
67
|
+
}
|
|
32
68
|
},
|
|
33
69
|
"sn": {
|
|
34
70
|
"type": "string",
|
|
35
|
-
"
|
|
71
|
+
"searchable": true,
|
|
72
|
+
"required": true,
|
|
73
|
+
"label": {
|
|
74
|
+
"en": "Last name",
|
|
75
|
+
"fr": "Nom de famille"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"givenName": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"searchable": true,
|
|
81
|
+
"required": true,
|
|
82
|
+
"label": {
|
|
83
|
+
"en": "First name",
|
|
84
|
+
"fr": "Prénom"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"displayName": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"role": "displayName",
|
|
90
|
+
"required": true,
|
|
91
|
+
"label": {
|
|
92
|
+
"en": "Full name",
|
|
93
|
+
"fr": "Nom complet"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"personalTitle": {
|
|
97
|
+
"type": "pointer",
|
|
98
|
+
"branch": ["ou=twakeTitle,ou=nomenclature,__LDAP_BASE__"],
|
|
99
|
+
"required": false,
|
|
100
|
+
"label": {
|
|
101
|
+
"en": "Title",
|
|
102
|
+
"fr": "Civilité"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"title": {
|
|
106
|
+
"type": "pointer",
|
|
107
|
+
"branch": ["ou=positions,__LDAP_BASE__"],
|
|
108
|
+
"required": false,
|
|
109
|
+
"referentialIntegrity": "restrict",
|
|
110
|
+
"role": "position",
|
|
111
|
+
"label": {
|
|
112
|
+
"en": "Position",
|
|
113
|
+
"fr": "Poste"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"description": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"required": false,
|
|
119
|
+
"label": {
|
|
120
|
+
"en": "Comment",
|
|
121
|
+
"fr": "Commentaire"
|
|
122
|
+
}
|
|
36
123
|
},
|
|
37
124
|
"mail": {
|
|
38
125
|
"type": "string",
|
|
126
|
+
"searchable": true,
|
|
39
127
|
"test": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
|
|
40
|
-
"
|
|
41
|
-
"
|
|
128
|
+
"hint": "Expected an email address, e.g. jane.doe@example.org",
|
|
129
|
+
"required": true,
|
|
130
|
+
"unique": {
|
|
131
|
+
"attributes": ["mailAlternateAddress"],
|
|
132
|
+
"branches": ["__LDAP_BASE__"]
|
|
133
|
+
},
|
|
134
|
+
"mailDomainScope": "organization",
|
|
135
|
+
"role": "primaryEmail",
|
|
136
|
+
"label": {
|
|
137
|
+
"en": "Email",
|
|
138
|
+
"fr": "Adresse électronique"
|
|
139
|
+
}
|
|
42
140
|
},
|
|
43
141
|
"mailAlternateAddress": {
|
|
44
142
|
"type": "array",
|
|
45
143
|
"items": {
|
|
46
144
|
"type": "string",
|
|
47
|
-
"test": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$"
|
|
145
|
+
"test": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
|
|
146
|
+
"hint": "Expected an email address, e.g. jane.doe@example.org"
|
|
48
147
|
},
|
|
49
148
|
"required": false,
|
|
50
|
-
"
|
|
149
|
+
"unique": {
|
|
150
|
+
"attributes": ["mail"],
|
|
151
|
+
"branches": ["__LDAP_BASE__"]
|
|
152
|
+
},
|
|
153
|
+
"mailDomainScope": "organization",
|
|
154
|
+
"role": "emailAliases",
|
|
155
|
+
"label": {
|
|
156
|
+
"en": "Email aliases",
|
|
157
|
+
"fr": "Alias"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"twakeOtherMailbox": {
|
|
161
|
+
"type": "array",
|
|
162
|
+
"items": {
|
|
163
|
+
"type": "string",
|
|
164
|
+
"test": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
|
|
165
|
+
"hint": "Expected an email address, e.g. jane.doe@example.org"
|
|
166
|
+
},
|
|
167
|
+
"required": false,
|
|
168
|
+
"group": "Mailbox Settings",
|
|
169
|
+
"label": {
|
|
170
|
+
"en": "Other mailboxes",
|
|
171
|
+
"fr": "Autres boîtes"
|
|
172
|
+
}
|
|
51
173
|
},
|
|
52
174
|
"mailQuota": {
|
|
53
175
|
"type": "number",
|
|
54
176
|
"required": false,
|
|
55
|
-
"role": "emailQuota"
|
|
177
|
+
"role": "emailQuota",
|
|
178
|
+
"group": "Mailbox Settings",
|
|
179
|
+
"label": {
|
|
180
|
+
"en": "Mail quota",
|
|
181
|
+
"fr": "Quota"
|
|
182
|
+
}
|
|
56
183
|
},
|
|
57
|
-
"
|
|
184
|
+
"mailQuotaSize": {
|
|
185
|
+
"type": "number",
|
|
186
|
+
"required": false,
|
|
187
|
+
"role": "emailQuotaSize",
|
|
188
|
+
"normalize": "byteSize",
|
|
189
|
+
"hint": "Expected pattern xGB, xMB, xKB or a number of bytes",
|
|
190
|
+
"group": "Mailbox Settings",
|
|
191
|
+
"label": {
|
|
192
|
+
"en": "Mailbox size",
|
|
193
|
+
"fr": "Taille de boîte"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"telephoneNumber": {
|
|
58
197
|
"type": "string",
|
|
59
|
-
"required": false
|
|
198
|
+
"required": false,
|
|
199
|
+
"label": {
|
|
200
|
+
"en": "Phone",
|
|
201
|
+
"fr": "Téléphone"
|
|
202
|
+
}
|
|
60
203
|
},
|
|
61
|
-
"
|
|
204
|
+
"mobile": {
|
|
62
205
|
"type": "string",
|
|
63
|
-
"required": false
|
|
206
|
+
"required": false,
|
|
207
|
+
"label": {
|
|
208
|
+
"en": "Mobile",
|
|
209
|
+
"fr": "Mobile"
|
|
210
|
+
}
|
|
64
211
|
},
|
|
65
|
-
"
|
|
212
|
+
"postalAddress": {
|
|
66
213
|
"type": "string",
|
|
67
|
-
"required": false
|
|
214
|
+
"required": false,
|
|
215
|
+
"label": {
|
|
216
|
+
"en": "Address",
|
|
217
|
+
"fr": "Adresse"
|
|
218
|
+
}
|
|
68
219
|
},
|
|
69
|
-
"
|
|
220
|
+
"postalCode": {
|
|
70
221
|
"type": "string",
|
|
71
|
-
"required": false
|
|
222
|
+
"required": false,
|
|
223
|
+
"label": {
|
|
224
|
+
"en": "Zip code",
|
|
225
|
+
"fr": "Code postal"
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"l": {
|
|
229
|
+
"type": "string",
|
|
230
|
+
"required": false,
|
|
231
|
+
"label": {
|
|
232
|
+
"en": "Locality",
|
|
233
|
+
"fr": "Commune"
|
|
234
|
+
}
|
|
72
235
|
},
|
|
73
236
|
"userPassword": {
|
|
74
237
|
"type": "string",
|
|
75
|
-
"required": false
|
|
238
|
+
"required": false,
|
|
239
|
+
"role": "password",
|
|
240
|
+
"neverReturn": true,
|
|
241
|
+
"label": {
|
|
242
|
+
"en": "Password",
|
|
243
|
+
"fr": "Mot de passe"
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"pwdReset": {
|
|
247
|
+
"type": "boolean",
|
|
248
|
+
"required": false,
|
|
249
|
+
"role": "passwordReset",
|
|
250
|
+
"neverReturn": true,
|
|
251
|
+
"label": {
|
|
252
|
+
"en": "Password reset required",
|
|
253
|
+
"fr": "Changement de mot de passe requis"
|
|
254
|
+
}
|
|
76
255
|
},
|
|
77
256
|
"twakeDepartmentLink": {
|
|
78
|
-
"type": "
|
|
79
|
-
"
|
|
257
|
+
"type": "pointer",
|
|
258
|
+
"branch": ["__LDAP_BASE__"],
|
|
80
259
|
"required": true,
|
|
81
|
-
"role": "organizationLink"
|
|
260
|
+
"role": "organizationLink",
|
|
261
|
+
"label": {
|
|
262
|
+
"en": "Department",
|
|
263
|
+
"fr": "Organisation"
|
|
264
|
+
}
|
|
82
265
|
},
|
|
83
266
|
"twakeDepartmentPath": {
|
|
84
267
|
"type": "string",
|
|
85
|
-
"test": "^[\\
|
|
268
|
+
"test": "^[^\\r\\n]{1,4096}$",
|
|
86
269
|
"required": true,
|
|
87
|
-
"
|
|
270
|
+
"generated": true,
|
|
271
|
+
"role": "organizationPath",
|
|
272
|
+
"label": {
|
|
273
|
+
"en": "Department path",
|
|
274
|
+
"fr": "Chemin"
|
|
275
|
+
}
|
|
88
276
|
},
|
|
89
277
|
"twakeAccountStatus": {
|
|
90
278
|
"type": "pointer",
|
|
91
279
|
"branch": ["ou=twakeAccountStatus,ou=nomenclature,__LDAP_BASE__"],
|
|
92
|
-
"required": true
|
|
280
|
+
"required": true,
|
|
281
|
+
"generated": true,
|
|
282
|
+
"role": "accountStatus",
|
|
283
|
+
"default": "cn=active,ou=twakeAccountStatus,ou=nomenclature,__LDAP_BASE__",
|
|
284
|
+
"states": {
|
|
285
|
+
"enabled": "cn=active,ou=twakeAccountStatus,ou=nomenclature,__LDAP_BASE__",
|
|
286
|
+
"disabled": "cn=disabled,ou=twakeAccountStatus,ou=nomenclature,__LDAP_BASE__",
|
|
287
|
+
"noAccess": "cn=noaccess,ou=twakeAccountStatus,ou=nomenclature,__LDAP_BASE__",
|
|
288
|
+
"toDelete": "cn=todelete,ou=twakeAccountStatus,ou=nomenclature,__LDAP_BASE__"
|
|
289
|
+
},
|
|
290
|
+
"label": {
|
|
291
|
+
"en": "Status",
|
|
292
|
+
"fr": "État"
|
|
293
|
+
}
|
|
93
294
|
},
|
|
94
295
|
"twakeDeliveryMode": {
|
|
95
|
-
"type": "
|
|
96
|
-
"
|
|
97
|
-
|
|
296
|
+
"type": "array",
|
|
297
|
+
"items": {
|
|
298
|
+
"type": "pointer",
|
|
299
|
+
"branch": ["ou=twakeDeliveryMode,ou=nomenclature,__LDAP_BASE__"]
|
|
300
|
+
},
|
|
301
|
+
"required": true,
|
|
302
|
+
"generated": true,
|
|
303
|
+
"default": [
|
|
304
|
+
"cn=normal,ou=twakeDeliveryMode,ou=nomenclature,__LDAP_BASE__"
|
|
305
|
+
],
|
|
306
|
+
"group": "Mailbox Settings",
|
|
307
|
+
"label": {
|
|
308
|
+
"en": "Delivery mode",
|
|
309
|
+
"fr": "Mode de distribution"
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
"twakeDeletionDate": {
|
|
313
|
+
"type": "date",
|
|
314
|
+
"required": false,
|
|
315
|
+
"role": "accountExpiry",
|
|
316
|
+
"hint": "Expected a date not earlier than today",
|
|
317
|
+
"label": {
|
|
318
|
+
"en": "Deletion date",
|
|
319
|
+
"fr": "Date de suppression"
|
|
320
|
+
}
|
|
98
321
|
},
|
|
99
322
|
"twakeDelegatedUsers": {
|
|
100
323
|
"type": "array",
|
|
@@ -102,11 +325,25 @@
|
|
|
102
325
|
"type": "pointer",
|
|
103
326
|
"branch": ["ou=users,__LDAP_BASE__"]
|
|
104
327
|
},
|
|
105
|
-
"required": false
|
|
328
|
+
"required": false,
|
|
329
|
+
"group": "Mailbox Settings",
|
|
330
|
+
"label": {
|
|
331
|
+
"en": "Delegates",
|
|
332
|
+
"fr": "Délégués"
|
|
333
|
+
}
|
|
106
334
|
},
|
|
107
|
-
"
|
|
108
|
-
"type": "
|
|
109
|
-
"
|
|
335
|
+
"memberOf": {
|
|
336
|
+
"type": "array",
|
|
337
|
+
"items": {
|
|
338
|
+
"type": "string"
|
|
339
|
+
},
|
|
340
|
+
"required": false,
|
|
341
|
+
"readOnly": true,
|
|
342
|
+
"role": "groupMemberships",
|
|
343
|
+
"label": {
|
|
344
|
+
"en": "Mailing lists",
|
|
345
|
+
"fr": "Listes de diffusion"
|
|
346
|
+
}
|
|
110
347
|
}
|
|
111
348
|
}
|
|
112
349
|
}
|