@terpjs/react-core 0.18.0 → 0.19.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/src/uiText.tsx CHANGED
@@ -160,6 +160,47 @@ export interface TerpStrings {
160
160
  adminAudit: string;
161
161
  /** Admin hub: audit card description. */
162
162
  adminAuditDescription: string;
163
+ /** Access pane: the sidebar/hub entry and its one-line description. */
164
+ adminAccess: string;
165
+ adminAccessDescription: string;
166
+ /** Access pane: the tile for holding no rung in a module at all. */
167
+ accessNoRung: string;
168
+ /** Access pane: heading above what a rung adds over the one below it. */
169
+ accessAdds: string;
170
+ /** Access pane: the three kinds a delta is split into. */
171
+ accessKindRead: string;
172
+ accessKindWrite: string;
173
+ accessKindDelete: string;
174
+ /** Access pane: shown on a rung that grants nothing the rung below did not. */
175
+ accessAddsNothing: string;
176
+ /** Access pane: shown on a module that declares it is never per-module assignable. */
177
+ accessNeverAssignable: string;
178
+ /** Access pane: shown on a module that has not opted into per-module roles. */
179
+ accessNotAssignable: string;
180
+ /** Access pane: warns that some of the module's routes declared no operation. */
181
+ accessUnexplainedRoutes: string;
182
+ /** Access pane: the note that this screen shows the declared model, not who holds what. */
183
+ accessDeclaredOnly: string;
184
+ /** Assignment panel: the section heading on a person's or group's detail screen. */
185
+ moduleAccessTitle: string;
186
+ /** Assignment panel: what a rung here does, and the two things it can never do. */
187
+ moduleAccessDescription: string;
188
+ /** Assignment panel: shown when no module has opted into per-module roles at all. */
189
+ moduleAccessNoneAssignable: string;
190
+ /** Assignment panel: a rung reaching this subject through a group it belongs to. */
191
+ moduleAccessVia: string;
192
+ /** Assignment panel: a held rung the app's declarations no longer support. */
193
+ moduleAccessStale: string;
194
+ /** Assignment panel: why a rung at or below the subject's global role changes nothing. */
195
+ moduleAccessFloor: string;
196
+ /** Assignment panel: confirmation before handing someone the most privileged rung. */
197
+ moduleAccessConfirmTitle: string;
198
+ moduleAccessConfirm: string;
199
+ /** Assignment panel: confirmation of the rung being taken away again. */
200
+ moduleAccessRevokeTitle: string;
201
+ moduleAccessRevoke: string;
202
+ /** Assignment panel: a rung held in a module that no longer accepts one. */
203
+ moduleAccessOrphaned: string;
163
204
  /** Generic "Status" column header. */
164
205
  statusColumn: string;
165
206
  /** Generic "Created" column header. */
@@ -323,6 +364,35 @@ export const DEFAULT_STRINGS: TerpStrings = {
323
364
  adminGroupsDescription: "Bundle permissions; membership applies them",
324
365
  adminAudit: "Audit log",
325
366
  adminAuditDescription: "Every change: what, who, when",
367
+ adminAccess: "Access",
368
+ adminAccessDescription: "Which roles exist, and what each one may do per module",
369
+ accessNoRung: "No access",
370
+ accessAdds: "Adds over the tier below",
371
+ accessKindRead: "View",
372
+ accessKindWrite: "Change",
373
+ accessKindDelete: "Delete",
374
+ accessAddsNothing: "Nothing beyond the tier below",
375
+ accessNeverAssignable: "Never assignable per module",
376
+ accessNotAssignable: "Not assignable per module",
377
+ accessUnexplainedRoutes: "{count} action(s) in this module have no description yet",
378
+ accessDeclaredOnly:
379
+ "This is what the application declares. It does not show who holds which role — open a person to see that.",
380
+ moduleAccessTitle: "Access per module",
381
+ moduleAccessDescription:
382
+ "A role here applies in that one module and raises access, never lowers it. Modules that have not opted in are not listed.",
383
+ moduleAccessNoneAssignable:
384
+ "No module in this application accepts a role of its own, so there is nothing to set here.",
385
+ moduleAccessVia: "Also {role} here, through {name}",
386
+ moduleAccessStale: "Held, but has no effect: {reason}",
387
+ moduleAccessFloor: "{role} everywhere already, so anything up to here changes nothing",
388
+ moduleAccessConfirmTitle: "Give {role} in {module}?",
389
+ moduleAccessConfirm:
390
+ "This is the most far-reaching role the module has. Everything the tier below can do, plus what the tile lists.",
391
+ moduleAccessRevokeTitle: "Take away the role in {module}?",
392
+ moduleAccessRevoke:
393
+ "Access in this module falls back to what the person's role gives them everywhere else.",
394
+ moduleAccessOrphaned:
395
+ "Still set to {role} in {module}, which no longer accepts a role of its own. It has no effect, and removing it is the only change left to make.",
326
396
  statusColumn: "Status",
327
397
  createdColumn: "Created",
328
398
  statusActive: "Active",