@aws-amplify/graphql-auth-transformer 1.2.6 → 1.2.7
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.2.7](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-auth-transformer@1.2.6...@aws-amplify/graphql-auth-transformer@1.2.7) (2023-02-15)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- explicitly set a flag when owner param in subscriptions is authorized ([#1251](https://github.com/aws-amplify/amplify-category-api/issues/1251)) ([8cf7eae](https://github.com/aws-amplify/amplify-category-api/commit/8cf7eae14214d3f28570bf2be40d2cd71d6ef84e))
|
|
11
|
+
|
|
6
12
|
## [1.2.6](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-auth-transformer@1.2.5...@aws-amplify/graphql-auth-transformer@1.2.6) (2023-02-10)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @aws-amplify/graphql-auth-transformer
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptions.d.ts","sourceRoot":"","sources":["../../src/resolvers/subscriptions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"subscriptions.d.ts","sourceRoot":"","sources":["../../src/resolvers/subscriptions.ts"],"names":[],"mappings":"AAuBA,OAAO,EAEL,uBAAuB,EAGvB,cAAc,EAEf,MAAM,UAAU,CAAC;AA6JlB,eAAO,MAAM,sCAAsC,cAAe,uBAAuB,SAAS,MAAM,cAAc,CAAC,KAAG,MAgCzH,CAAC"}
|
|
@@ -4,6 +4,10 @@ exports.generateAuthExpressionForSubscriptions = void 0;
|
|
|
4
4
|
const graphql_mapping_template_1 = require("graphql-mapping-template");
|
|
5
5
|
const utils_1 = require("../utils");
|
|
6
6
|
const helpers_1 = require("./helpers");
|
|
7
|
+
const HAS_VALID_OWNER_ARGUMENT_FLAG = 'hasValidOwnerArgument';
|
|
8
|
+
const IS_OWNER_AUTH_AUTHORIZED_AND_NO_OTHER_FILTERS_FLAG = 'isOwnerAuthAuthorizedAndNoOtherFilters';
|
|
9
|
+
const IS_OWNER_OR_DYNAMIC_AUTH_AUTHORIZED_WITH_FILTERS_FLAG = 'isOwnerOrDynamicAuthAuthorizedWithFilters';
|
|
10
|
+
const FILTER_ARGS_SIZE_FLAG = 'filterArgsSize';
|
|
7
11
|
const dynamicRoleExpression = (roles) => {
|
|
8
12
|
const dynamicExpression = new Array();
|
|
9
13
|
const ownerExpression = new Array();
|
|
@@ -23,7 +27,10 @@ const dynamicRoleExpression = (roles) => {
|
|
|
23
27
|
(0, graphql_mapping_template_1.ifElse)((0, graphql_mapping_template_1.or)([
|
|
24
28
|
(0, graphql_mapping_template_1.equals)((0, graphql_mapping_template_1.ref)(`ownerEntity${idx}`), (0, graphql_mapping_template_1.ref)(`ownerClaim${idx}`)),
|
|
25
29
|
(0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)(`ownerClaimsList${idx}.contains`), (0, graphql_mapping_template_1.ref)(`ownerEntity${idx}`)),
|
|
26
|
-
]), (0, graphql_mapping_template_1.
|
|
30
|
+
]), (0, graphql_mapping_template_1.compoundExpression)([
|
|
31
|
+
(0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)(utils_1.IS_AUTHORIZED_FLAG), (0, graphql_mapping_template_1.bool)(true)),
|
|
32
|
+
(0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)(HAS_VALID_OWNER_ARGUMENT_FLAG), (0, graphql_mapping_template_1.bool)(true)),
|
|
33
|
+
]), (0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('util.unauthorized'))),
|
|
27
34
|
])),
|
|
28
35
|
])));
|
|
29
36
|
}
|
|
@@ -35,6 +42,7 @@ const dynamicRoleExpression = (roles) => {
|
|
|
35
42
|
return dynamicExpression;
|
|
36
43
|
};
|
|
37
44
|
const combineAuthExpressionAndFilter = (ownerExpression, groupExpression) => [
|
|
45
|
+
(0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)(HAS_VALID_OWNER_ARGUMENT_FLAG), (0, graphql_mapping_template_1.bool)(false)),
|
|
38
46
|
(0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)('authRuntimeFilter'), (0, graphql_mapping_template_1.list)([])),
|
|
39
47
|
(0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)('authOwnerRuntimeFilter'), (0, graphql_mapping_template_1.list)([])),
|
|
40
48
|
(0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)('authGroupRuntimeFilter'), (0, graphql_mapping_template_1.list)([])),
|
|
@@ -43,9 +51,23 @@ const combineAuthExpressionAndFilter = (ownerExpression, groupExpression) => [
|
|
|
43
51
|
(0, graphql_mapping_template_1.comment)('Apply dynamic roles auth if not previously authorized by static groups and owner argument'),
|
|
44
52
|
(0, graphql_mapping_template_1.iff)((0, graphql_mapping_template_1.raw)('$authOwnerRuntimeFilter.size() > 0'), (0, graphql_mapping_template_1.qref)((0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('authRuntimeFilter.addAll'), (0, graphql_mapping_template_1.ref)('authOwnerRuntimeFilter')))),
|
|
45
53
|
(0, graphql_mapping_template_1.iff)((0, graphql_mapping_template_1.raw)('$authGroupRuntimeFilter.size() > 0'), (0, graphql_mapping_template_1.qref)((0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('authRuntimeFilter.addAll'), (0, graphql_mapping_template_1.ref)('authGroupRuntimeFilter')))),
|
|
46
|
-
(0, graphql_mapping_template_1.
|
|
47
|
-
|
|
54
|
+
(0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)(FILTER_ARGS_SIZE_FLAG), (0, graphql_mapping_template_1.int)(0)),
|
|
55
|
+
(0, graphql_mapping_template_1.iff)((0, graphql_mapping_template_1.not)((0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('util.isNullOrEmpty'), (0, graphql_mapping_template_1.ref)('ctx.args.filter'))), (0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)(FILTER_ARGS_SIZE_FLAG), (0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('ctx.args.filter.size')))),
|
|
56
|
+
(0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)(IS_OWNER_AUTH_AUTHORIZED_AND_NO_OTHER_FILTERS_FLAG), (0, graphql_mapping_template_1.and)([
|
|
57
|
+
(0, graphql_mapping_template_1.ref)(HAS_VALID_OWNER_ARGUMENT_FLAG),
|
|
58
|
+
(0, graphql_mapping_template_1.equals)((0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('authRuntimeFilter.size')), (0, graphql_mapping_template_1.int)(1)),
|
|
59
|
+
(0, graphql_mapping_template_1.equals)((0, graphql_mapping_template_1.ref)(FILTER_ARGS_SIZE_FLAG), (0, graphql_mapping_template_1.int)(0)),
|
|
60
|
+
])),
|
|
61
|
+
(0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)(IS_OWNER_OR_DYNAMIC_AUTH_AUTHORIZED_WITH_FILTERS_FLAG), (0, graphql_mapping_template_1.and)([
|
|
62
|
+
(0, graphql_mapping_template_1.parens)((0, graphql_mapping_template_1.or)([
|
|
63
|
+
(0, graphql_mapping_template_1.not)((0, graphql_mapping_template_1.ref)(utils_1.IS_AUTHORIZED_FLAG)),
|
|
64
|
+
(0, graphql_mapping_template_1.ref)(HAS_VALID_OWNER_ARGUMENT_FLAG),
|
|
65
|
+
])),
|
|
48
66
|
(0, graphql_mapping_template_1.raw)('$authRuntimeFilter.size() > 0'),
|
|
67
|
+
])),
|
|
68
|
+
(0, graphql_mapping_template_1.iff)((0, graphql_mapping_template_1.and)([
|
|
69
|
+
(0, graphql_mapping_template_1.not)((0, graphql_mapping_template_1.ref)(IS_OWNER_AUTH_AUTHORIZED_AND_NO_OTHER_FILTERS_FLAG)),
|
|
70
|
+
(0, graphql_mapping_template_1.ref)(IS_OWNER_OR_DYNAMIC_AUTH_AUTHORIZED_WITH_FILTERS_FLAG),
|
|
49
71
|
]), (0, graphql_mapping_template_1.compoundExpression)([
|
|
50
72
|
(0, graphql_mapping_template_1.ifElse)((0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('util.isNullOrEmpty'), (0, graphql_mapping_template_1.ref)('ctx.args.filter')), (0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)('ctx.args.filter'), (0, graphql_mapping_template_1.raw)('{ "or": $authRuntimeFilter }')), (0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)('ctx.args.filter'), (0, graphql_mapping_template_1.raw)('{ "and": [ { "or": $authRuntimeFilter }, $ctx.args.filter ]}'))),
|
|
51
73
|
(0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)(utils_1.IS_AUTHORIZED_FLAG), (0, graphql_mapping_template_1.bool)(true)),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptions.js","sourceRoot":"","sources":["../../src/resolvers/subscriptions.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"subscriptions.js","sourceRoot":"","sources":["../../src/resolvers/subscriptions.ts"],"names":[],"mappings":";;;AAAA,uEAsBkC;AAClC,oCAOkB;AAClB,uCAamB;AAEnB,MAAM,6BAA6B,GAAG,uBAAuB,CAAC;AAC9D,MAAM,kDAAkD,GAAG,wCAAwC,CAAC;AACpG,MAAM,qDAAqD,GAAG,2CAA2C,CAAC;AAC1G,MAAM,qBAAqB,GAAG,gBAAgB,CAAC;AAE/C,MAAM,qBAAqB,GAAG,CAAC,KAA4B,EAAqB,EAAE;IAChF,MAAM,iBAAiB,GAAG,IA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IAAA,sCAA4B,EAAC,kBAAkB,CAAC,EAAE,GAAG,qBAAqB,CAAC,mBAAmB,CAAC,CAAC,CAAC,CACzH,CACF,CAAC;KACH;IACD,IAAI,SAAS,CAAC,OAAO,EAAE;QACrB,oBAAoB,CAAC,IAAI,CACvB,IAAA,8BAAG,EACD,IAAA,iCAAM,EAAC,IAAA,8BAAG,EAAC,iBAAiB,CAAC,EAAE,IAAA,8BAAG,EAAC,sBAAc,CAAC,CAAC,EACnD,IAAA,6CAAkB,EAAC,CAAC,GAAG,IAAA,sCAA4B,EAAC,eAAe,CAAC,EAAE,GAAG,qBAAqB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CACnH,CACF,CAAC;KACH;IACD,oBAAoB,CAAC,IAAI,CAAC,IAAA,8BAAG,EAAC,IAAA,8BAAG,EAAC,IAAA,8BAAG,EAAC,0BAAkB,CAAC,CAAC,EAAE,IAAA,8BAAG,EAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC;IACzF,OAAO,IAAA,qCAAU,EAAC,qBAAqB,CAAC,CAAC,IAAA,6CAAkB,EAAC,CAAC,GAAG,oBAAoB,EAAE,sBAAY,CAAC,CAAC,CAAC,CAAC;AACxG,CAAC,CAAC;AAhCW,QAAA,sCAAsC,0CAgCjD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/graphql-auth-transformer",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7",
|
|
4
4
|
"description": "Amplify GraphQL @auth transformer",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
],
|
|
67
67
|
"collectCoverage": true
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "b1794812b7ff4a8108429ca9fbdae9e806bd0114"
|
|
70
70
|
}
|