simetra 0.3.0-next.2 → 0.3.0-next.4

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.
@@ -91,6 +91,185 @@
91
91
  "description": "Whether users may register themselves; enables the self sign-up warning and host start check.",
92
92
  "type": "boolean"
93
93
  },
94
+ "selfSignUpAccepted": {
95
+ "description": "What the self sign-up warning no longer reports: it names only objects and grants open to anyone that are not listed here.",
96
+ "type": "object",
97
+ "properties": {
98
+ "objects": {
99
+ "default": [],
100
+ "description": "Objects accepted as open to every signed-in user (publicRead authenticated).",
101
+ "type": "array",
102
+ "items": {
103
+ "type": "object",
104
+ "properties": {
105
+ "object": {
106
+ "type": "object",
107
+ "properties": {
108
+ "kind": {
109
+ "type": "string",
110
+ "enum": [
111
+ "Catalog",
112
+ "Document",
113
+ "Enumeration",
114
+ "InformationRegister",
115
+ "AccumulationRegister",
116
+ "Constant",
117
+ "CustomTable",
118
+ "PgEnum",
119
+ "EventSubscription",
120
+ "RightsSet",
121
+ "Role"
122
+ ],
123
+ "description": "Kind of the referenced metadata object."
124
+ },
125
+ "name": {
126
+ "type": "string",
127
+ "pattern": "^[A-Z][A-Za-z0-9]*$",
128
+ "description": "Logical name of the referenced object."
129
+ }
130
+ },
131
+ "required": [
132
+ "kind",
133
+ "name"
134
+ ],
135
+ "additionalProperties": false,
136
+ "description": "Object with publicRead authenticated accepted as open to anyone."
137
+ },
138
+ "published": {
139
+ "description": "Accept only the published rows (the conditional publicRead); without it every row is accepted.",
140
+ "type": "boolean",
141
+ "const": true
142
+ }
143
+ },
144
+ "required": [
145
+ "object"
146
+ ],
147
+ "additionalProperties": false
148
+ }
149
+ },
150
+ "grants": {
151
+ "default": [],
152
+ "description": "Grants of everyUser roles accepted as open to anyone.",
153
+ "type": "array",
154
+ "items": {
155
+ "type": "object",
156
+ "properties": {
157
+ "role": {
158
+ "type": "object",
159
+ "properties": {
160
+ "kind": {
161
+ "type": "string",
162
+ "enum": [
163
+ "Catalog",
164
+ "Document",
165
+ "Enumeration",
166
+ "InformationRegister",
167
+ "AccumulationRegister",
168
+ "Constant",
169
+ "CustomTable",
170
+ "PgEnum",
171
+ "EventSubscription",
172
+ "RightsSet",
173
+ "Role"
174
+ ],
175
+ "description": "Kind of the referenced metadata object."
176
+ },
177
+ "name": {
178
+ "type": "string",
179
+ "pattern": "^[A-Z][A-Za-z0-9]*$",
180
+ "description": "Logical name of the referenced object."
181
+ }
182
+ },
183
+ "required": [
184
+ "kind",
185
+ "name"
186
+ ],
187
+ "additionalProperties": false,
188
+ "description": "Role of the everyUser level."
189
+ },
190
+ "object": {
191
+ "type": "object",
192
+ "properties": {
193
+ "kind": {
194
+ "type": "string",
195
+ "enum": [
196
+ "Catalog",
197
+ "Document",
198
+ "Enumeration",
199
+ "InformationRegister",
200
+ "AccumulationRegister",
201
+ "Constant",
202
+ "CustomTable",
203
+ "PgEnum",
204
+ "EventSubscription",
205
+ "RightsSet",
206
+ "Role"
207
+ ],
208
+ "description": "Kind of the referenced metadata object."
209
+ },
210
+ "name": {
211
+ "type": "string",
212
+ "pattern": "^[A-Z][A-Za-z0-9]*$",
213
+ "description": "Logical name of the referenced object."
214
+ }
215
+ },
216
+ "required": [
217
+ "kind",
218
+ "name"
219
+ ],
220
+ "additionalProperties": false,
221
+ "description": "Object of the grant."
222
+ },
223
+ "actions": {
224
+ "minItems": 1,
225
+ "type": "array",
226
+ "items": {
227
+ "type": "string",
228
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
229
+ "description": "Logical element name (attribute, section, column). The casing style is checked against the project naming setting."
230
+ },
231
+ "description": "Accepted actions: standard words or custom action names."
232
+ },
233
+ "extent": {
234
+ "anyOf": [
235
+ {
236
+ "type": "string",
237
+ "const": "any"
238
+ },
239
+ {
240
+ "type": "string",
241
+ "const": "own"
242
+ },
243
+ {
244
+ "type": "object",
245
+ "properties": {
246
+ "dimension": {
247
+ "type": "string",
248
+ "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
249
+ "description": "Name of a project access dimension."
250
+ }
251
+ },
252
+ "required": [
253
+ "dimension"
254
+ ],
255
+ "additionalProperties": false
256
+ }
257
+ ],
258
+ "description": "Rows the grant opens: any row, own rows, or rows with a value of an access dimension of the user."
259
+ }
260
+ },
261
+ "required": [
262
+ "role",
263
+ "object",
264
+ "actions",
265
+ "extent"
266
+ ],
267
+ "additionalProperties": false
268
+ }
269
+ }
270
+ },
271
+ "additionalProperties": false
272
+ },
94
273
  "scopeKinds": {
95
274
  "default": [],
96
275
  "description": "Scope kinds of the application; leave empty for a single-tenant application.",
@@ -17,6 +17,21 @@
17
17
  "pattern": "^[A-Z][A-Za-z0-9]*$",
18
18
  "description": "Logical object name in PascalCase."
19
19
  },
20
+ "title": {
21
+ "description": "Human-readable title of the object.",
22
+ "type": "object",
23
+ "properties": {
24
+ "uk": {
25
+ "description": "Ukrainian text.",
26
+ "type": "string"
27
+ },
28
+ "en": {
29
+ "description": "English text.",
30
+ "type": "string"
31
+ }
32
+ },
33
+ "additionalProperties": false
34
+ },
20
35
  "kind": {
21
36
  "type": "string",
22
37
  "const": "RightsSet",
@@ -17,6 +17,21 @@
17
17
  "pattern": "^[A-Z][A-Za-z0-9]*$",
18
18
  "description": "Logical object name in PascalCase."
19
19
  },
20
+ "title": {
21
+ "description": "Human-readable title of the object.",
22
+ "type": "object",
23
+ "properties": {
24
+ "uk": {
25
+ "description": "Ukrainian text.",
26
+ "type": "string"
27
+ },
28
+ "en": {
29
+ "description": "English text.",
30
+ "type": "string"
31
+ }
32
+ },
33
+ "additionalProperties": false
34
+ },
20
35
  "kind": {
21
36
  "type": "string",
22
37
  "const": "Role",