@memberjunction/generic-database-provider 6.2.0-edge.4 → 6.2.0-edge.6
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/README.md +15 -1
- package/dist/GenericDatabaseProvider.d.ts +516 -49
- package/dist/GenericDatabaseProvider.d.ts.map +1 -1
- package/dist/GenericDatabaseProvider.js +1869 -329
- package/dist/GenericDatabaseProvider.js.map +1 -1
- package/dist/SqlLogger.d.ts +43 -0
- package/dist/SqlLogger.d.ts.map +1 -1
- package/dist/SqlLogger.js +165 -35
- package/dist/SqlLogger.js.map +1 -1
- package/dist/clientClauseScreen.d.ts +284 -0
- package/dist/clientClauseScreen.d.ts.map +1 -0
- package/dist/clientClauseScreen.js +637 -0
- package/dist/clientClauseScreen.js.map +1 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/recordChangeSnapshot.d.ts +43 -0
- package/dist/recordChangeSnapshot.d.ts.map +1 -0
- package/dist/recordChangeSnapshot.js +85 -0
- package/dist/recordChangeSnapshot.js.map +1 -0
- package/dist/renderPipeline.d.ts +27 -0
- package/dist/renderPipeline.d.ts.map +1 -1
- package/dist/renderPipeline.js +45 -3
- package/dist/renderPipeline.js.map +1 -1
- package/dist/saveTypes.d.ts +41 -4
- package/dist/saveTypes.d.ts.map +1 -1
- package/dist/systemUserFieldAccess.d.ts +16 -1
- package/dist/systemUserFieldAccess.d.ts.map +1 -1
- package/dist/systemUserFieldAccess.js +39 -8
- package/dist/systemUserFieldAccess.js.map +1 -1
- package/dist/types.d.ts +59 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +14 -14
|
@@ -65,12 +65,14 @@ import { UserCache } from './UserCache.js';
|
|
|
65
65
|
* @param entity the entity the field belongs to
|
|
66
66
|
* @param field the field whose rules are changing
|
|
67
67
|
* @param projectedRules every rule that would bind to this field after the change
|
|
68
|
+
* @param systemUser the account to check, for callers that read its role set from the database;
|
|
69
|
+
* defaults to the user cache's system user
|
|
68
70
|
*/
|
|
69
|
-
export function SystemUserFieldAccessLossReason(entity, field, projectedRules) {
|
|
71
|
+
export function SystemUserFieldAccessLossReason(entity, field, projectedRules, systemUser) {
|
|
70
72
|
if (!entity || !field) {
|
|
71
73
|
return null;
|
|
72
74
|
}
|
|
73
|
-
|
|
75
|
+
systemUser = systemUser ?? resolveSystemUser();
|
|
74
76
|
if (!systemUser) {
|
|
75
77
|
return null;
|
|
76
78
|
}
|
|
@@ -95,6 +97,12 @@ export function SystemUserFieldAccessLossReason(entity, field, projectedRules) {
|
|
|
95
97
|
* while the user cache was cold. Walks loaded metadata only — no queries — and skips entities with
|
|
96
98
|
* field security switched off, which is nearly all of them.
|
|
97
99
|
*
|
|
100
|
+
* With `WithoutRoleID` (the role-removal guard) an entity with field security switched off is
|
|
101
|
+
* judged too, on the fields that carry rules: those rules are dormant, not gone, and apply again
|
|
102
|
+
* the moment field security is re-enabled, so skipping them would let "disable, remove the role,
|
|
103
|
+
* re-enable" strip the system user's access with no refusal anywhere. Such a field is reported
|
|
104
|
+
* only when the removal itself costs the access, never for a shortfall that already existed.
|
|
105
|
+
*
|
|
98
106
|
* @param provider the provider whose metadata to walk
|
|
99
107
|
* @param systemUser the account to check; defaults to the user cache's system user
|
|
100
108
|
* @param options optional projection — see {@link SystemUserFieldAccessSweepOptions}
|
|
@@ -107,14 +115,12 @@ export function FindSystemUserFieldAccessViolations(provider, systemUser, option
|
|
|
107
115
|
const user = options.WithoutRoleID ? projectUserWithoutRole(resolved, options.WithoutRoleID) : resolved;
|
|
108
116
|
const violations = [];
|
|
109
117
|
for (const entity of provider.Entities ?? []) {
|
|
110
|
-
|
|
111
|
-
|
|
118
|
+
const dormant = !entity.EnableFieldLevelSecurity;
|
|
119
|
+
if (dormant && !options.WithoutRoleID) {
|
|
120
|
+
continue; // dormant rules restrict nothing until field security is re-enabled
|
|
112
121
|
}
|
|
113
122
|
for (const field of entity.Fields) {
|
|
114
|
-
|
|
115
|
-
continue;
|
|
116
|
-
}
|
|
117
|
-
const lost = lostVerb(entity, field, field.FieldPermissions, user);
|
|
123
|
+
const lost = fieldViolation(entity, field, rulesForField(field, options), user, dormant ? resolved : null);
|
|
118
124
|
if (lost) {
|
|
119
125
|
violations.push({ EntityName: entity.Name, FieldName: field.Name, Verb: lost });
|
|
120
126
|
}
|
|
@@ -122,6 +128,31 @@ export function FindSystemUserFieldAccessViolations(provider, systemUser, option
|
|
|
122
128
|
}
|
|
123
129
|
return violations;
|
|
124
130
|
}
|
|
131
|
+
/** The rules to judge a field by: the caller's stored rules when supplied, else loaded metadata. */
|
|
132
|
+
function rulesForField(field, options) {
|
|
133
|
+
if (!options.RulesByFieldID) {
|
|
134
|
+
return field.FieldPermissions;
|
|
135
|
+
}
|
|
136
|
+
return options.RulesByFieldID.get(String(field.ID ?? '').trim().toLowerCase()) ?? [];
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* The verb `user` lacks on one field, or null. For a dormant field (`before` is the user as it is
|
|
140
|
+
* now, before the change being judged) only a field with rules counts, and only when `before`
|
|
141
|
+
* still has that verb, so the change is what costs it.
|
|
142
|
+
*/
|
|
143
|
+
function fieldViolation(entity, field, rules, user, before) {
|
|
144
|
+
if (field.IsUnrestrictableField || field.IsOnUnrestrictableEntity) {
|
|
145
|
+
return null;
|
|
146
|
+
}
|
|
147
|
+
if (before && rules.length === 0) {
|
|
148
|
+
return null; // no dormant rule: re-enabling seeds this field afresh
|
|
149
|
+
}
|
|
150
|
+
const lost = lostVerb(entity, field, rules, user);
|
|
151
|
+
if (!lost || (before && lostVerb(entity, field, rules, before))) {
|
|
152
|
+
return null;
|
|
153
|
+
}
|
|
154
|
+
return lost;
|
|
155
|
+
}
|
|
125
156
|
/**
|
|
126
157
|
* Which verb the system user would lose relative to its ENTITY-level access, or null.
|
|
127
158
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"systemUserFieldAccess.js","sourceRoot":"","sources":["../src/systemUserFieldAccess.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,OAAO,EACH,eAAe,EAIf,QAAQ,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAY3C
|
|
1
|
+
{"version":3,"file":"systemUserFieldAccess.js","sourceRoot":"","sources":["../src/systemUserFieldAccess.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,OAAO,EACH,eAAe,EAIf,QAAQ,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAY3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,UAAU,+BAA+B,CAC3C,MAAqC,EACrC,KAAyC,EACzC,cAAqD,EACrD,UAA4B;IAE5B,IAAI,CAAC,MAAM,IAAI,CAAC,KAAK,EAAE,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,UAAU,GAAG,UAAU,IAAI,iBAAiB,EAAE,CAAC;IAC/C,IAAI,CAAC,UAAU,EAAE,CAAC;QACd,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAI,KAAK,CAAC,qBAAqB,IAAI,KAAK,CAAC,wBAAwB,EAAE,CAAC;QAChE,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,MAAM,IAAI,GAAG,QAAQ,CAAC,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,UAAU,CAAC,CAAC;IACjE,IAAI,CAAC,IAAI,EAAE,CAAC;QACR,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO,CACH,wDAAwD,IAAI,WA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M,EAAE,MAAM,CAAC,CAAC;KACjF,CAAC,CAAC;AACP,CAAC;AAED,qEAAqE;AACrE,SAAS,iBAAiB;IACtB,MAAM,IAAI,GAAG,SAAS,CAAC,QAAQ,EAAE,aAAa,EAAE,EAAE,CAAC;IACnD,OAAO,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;AACjD,CAAC"}
|
package/dist/types.d.ts
CHANGED
|
@@ -6,6 +6,19 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @module @memberjunction/generic-database-provider/types
|
|
8
8
|
*/
|
|
9
|
+
/**
|
|
10
|
+
* One schema-name to Flyway-placeholder rule for a migration-formatted SQL log. Same shape as
|
|
11
|
+
* `SQLOutput.schemaPlaceholders` in `mj.config.cjs`, so a repo declares the mapping once and
|
|
12
|
+
* CodeGen and the SQL logger read the same array. They apply it differently: CodeGen goes in
|
|
13
|
+
* declared order and needs no `.` after the schema name; the SQL logger needs the `.` and skips a
|
|
14
|
+
* name preceded by a word character, `$`, `@` or `#`.
|
|
15
|
+
*/
|
|
16
|
+
export interface SqlSchemaPlaceholder {
|
|
17
|
+
/** The schema name as it appears in captured SQL, e.g. `__mj_BizAppsAccounting` */
|
|
18
|
+
schema: string;
|
|
19
|
+
/** The placeholder written in its place, e.g. `${flyway:defaultSchema}` or `${mjSchema}` */
|
|
20
|
+
placeholder: string;
|
|
21
|
+
}
|
|
9
22
|
/**
|
|
10
23
|
* Configuration options for SQL logging sessions
|
|
11
24
|
*/
|
|
@@ -15,8 +28,39 @@ export interface SqlLoggingOptions {
|
|
|
15
28
|
/**
|
|
16
29
|
* Optional default schema name to use for Flyway migrations for replacing schema names with
|
|
17
30
|
* the placeholder ${flyway:defaultSchema}
|
|
31
|
+
*
|
|
32
|
+
* Used only when `schemaPlaceholders` is absent or empty.
|
|
18
33
|
*/
|
|
19
34
|
defaultSchemaName?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Schema-to-placeholder rules for migration formatting (#3618). When set, they replace the
|
|
37
|
+
* single `defaultSchemaName` -> `${flyway:defaultSchema}` rewrite.
|
|
38
|
+
*
|
|
39
|
+
* `${flyway:defaultSchema}` is the core schema in MJ's own repo, but in an Open App repo Skyway
|
|
40
|
+
* binds it to the app schema and `${mjSchema}` to core. An Open App therefore supplies both:
|
|
41
|
+
*
|
|
42
|
+
* ```ts
|
|
43
|
+
* schemaPlaceholders: [
|
|
44
|
+
* { schema: '__mj_BizAppsAccounting', placeholder: '${flyway:defaultSchema}' },
|
|
45
|
+
* { schema: '__mj', placeholder: '${mjSchema}' },
|
|
46
|
+
* ]
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* The rules run in one pass, so an emitted placeholder is never rewritten again. A schema name
|
|
50
|
+
* is rewritten only when a `.` follows it (optionally after a closing `]`), which also keeps a
|
|
51
|
+
* short rule off the prefix of a longer schema name, and no word character, `$`, `@` or `#`
|
|
52
|
+
* precedes it. Code and string data are treated alike: `__mj.` inside a quoted literal is
|
|
53
|
+
* rewritten; a bare name with no `.` after it is left alone.
|
|
54
|
+
*
|
|
55
|
+
* Ignored unless `formatAsMigration` is true.
|
|
56
|
+
*/
|
|
57
|
+
schemaPlaceholders?: SqlSchemaPlaceholder[];
|
|
58
|
+
/**
|
|
59
|
+
* Escape `${...}` inside SQL string literals so Flyway/Skyway does not read captured data
|
|
60
|
+
* (template text, prompt bodies) as a placeholder. Always on when `formatAsMigration` is true;
|
|
61
|
+
* set it to get the escaping without migration formatting.
|
|
62
|
+
*/
|
|
63
|
+
escapeFlywaySyntax?: boolean;
|
|
20
64
|
/** Optional description to include as a comment at the start of the log */
|
|
21
65
|
description?: string;
|
|
22
66
|
/** Which types of statements to log: 'queries' (all), 'mutations' (only data changes), 'both' (default) */
|
|
@@ -71,6 +115,21 @@ export interface SqlLoggingOptions {
|
|
|
71
115
|
* Note: If filterPatterns is empty/undefined, all SQL is logged regardless of filterType.
|
|
72
116
|
*/
|
|
73
117
|
filterType?: 'include' | 'exclude';
|
|
118
|
+
/**
|
|
119
|
+
* Optional rewrite of each logged text before the session reads it: the statement, its simple-SQL
|
|
120
|
+
* fallback, the description and the `-- Parameters:` line. It runs before the verbose prints, the
|
|
121
|
+
* filters, the Flyway escape, the schema-placeholder rewrite and the pretty-print, so text it
|
|
122
|
+
* removes never reaches the log file or the console, and SQL it adds that names a real schema
|
|
123
|
+
* (`[__mj].Entity`) is rewritten to that schema's placeholder like the rest of the statement.
|
|
124
|
+
*
|
|
125
|
+
* It covers only this session's file and verbose prints, plus the provider's shared verbose
|
|
126
|
+
* `Query to log:` print. Other sessions and other output paths do not use it.
|
|
127
|
+
*
|
|
128
|
+
* If it throws, the error is caught: the session writes the fixed line
|
|
129
|
+
* `-- Statement not logged: TransformStatement failed` in place of the statement and the SQL
|
|
130
|
+
* call goes on as normal.
|
|
131
|
+
*/
|
|
132
|
+
TransformStatement?: (sql: string) => string;
|
|
74
133
|
}
|
|
75
134
|
/**
|
|
76
135
|
* Interface for SQL logging session with disposable pattern
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,mFAAmF;IACnF,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB;IACnC,mFAAmF;IACnF,MAAM,EAAE,MAAM,CAAC;IACf,4FAA4F;IAC5F,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,mFAAmF;IACnF,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;;;;OAKG;IACH,iBAAiB,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E,MAAM,CAAC;IAChC,6CAA6C;IAC7C,QAAQ,CAAC,OAAO,EAAE,iBAAiB,CAAC;IACpC,4DAA4D;IAC5D,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1B"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/generic-database-provider",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "6.2.0-edge.
|
|
4
|
+
"version": "6.2.0-edge.6",
|
|
5
5
|
"description": "Shared database provider logic for MemberJunction — intermediate base class between DatabaseProviderBase and platform-specific providers",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -16,19 +16,19 @@
|
|
|
16
16
|
"vitest": "^3.1.1"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@memberjunction/actions": "6.2.0-edge.
|
|
20
|
-
"@memberjunction/actions-base": "6.2.0-edge.
|
|
21
|
-
"@memberjunction/ai-vectors-memory": "6.2.0-edge.
|
|
22
|
-
"@memberjunction/aiengine": "6.2.0-edge.
|
|
23
|
-
"@memberjunction/core": "6.2.0-edge.
|
|
24
|
-
"@memberjunction/core-entities": "6.2.0-edge.
|
|
25
|
-
"@memberjunction/encryption": "6.2.0-edge.
|
|
26
|
-
"@memberjunction/geo-core": "6.2.0-edge.
|
|
27
|
-
"@memberjunction/global": "6.2.0-edge.
|
|
28
|
-
"@memberjunction/query-processor": "6.2.0-edge.
|
|
29
|
-
"@memberjunction/sql-dialect": "6.2.0-edge.
|
|
30
|
-
"@memberjunction/sql-parser": "6.2.0-edge.
|
|
31
|
-
"@memberjunction/queue": "6.2.0-edge.
|
|
19
|
+
"@memberjunction/actions": "6.2.0-edge.6",
|
|
20
|
+
"@memberjunction/actions-base": "6.2.0-edge.6",
|
|
21
|
+
"@memberjunction/ai-vectors-memory": "6.2.0-edge.6",
|
|
22
|
+
"@memberjunction/aiengine": "6.2.0-edge.6",
|
|
23
|
+
"@memberjunction/core": "6.2.0-edge.6",
|
|
24
|
+
"@memberjunction/core-entities": "6.2.0-edge.6",
|
|
25
|
+
"@memberjunction/encryption": "6.2.0-edge.6",
|
|
26
|
+
"@memberjunction/geo-core": "6.2.0-edge.6",
|
|
27
|
+
"@memberjunction/global": "6.2.0-edge.6",
|
|
28
|
+
"@memberjunction/query-processor": "6.2.0-edge.6",
|
|
29
|
+
"@memberjunction/sql-dialect": "6.2.0-edge.6",
|
|
30
|
+
"@memberjunction/sql-parser": "6.2.0-edge.6",
|
|
31
|
+
"@memberjunction/queue": "6.2.0-edge.6",
|
|
32
32
|
"sql-formatter": "^15.7.0",
|
|
33
33
|
"uuid": "^13.0.0"
|
|
34
34
|
},
|