@contember/engine-http 1.1.0-alpha.7 → 1.1.0-alpha.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contember/engine-http",
3
- "version": "1.1.0-alpha.7",
3
+ "version": "1.1.0-alpha.8",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/src/index.js",
6
6
  "typings": "dist/src/index.d.ts",
@@ -9,14 +9,14 @@
9
9
  },
10
10
  "dependencies": {
11
11
  "@apollographql/graphql-playground-html": "^1.6.24",
12
- "@contember/database": "^1.1.0-alpha.7",
13
- "@contember/engine-content-api": "^1.1.0-alpha.7",
14
- "@contember/engine-plugins": "^1.1.0-alpha.7",
15
- "@contember/engine-system-api": "^1.1.0-alpha.7",
16
- "@contember/engine-tenant-api": "^1.1.0-alpha.7",
17
- "@contember/graphql-utils": "^1.1.0-alpha.7",
18
- "@contember/schema": "^1.1.0-alpha.7",
19
- "@contember/schema-utils": "^1.1.0-alpha.7",
12
+ "@contember/database": "^1.1.0-alpha.8",
13
+ "@contember/engine-content-api": "^1.1.0-alpha.8",
14
+ "@contember/engine-plugins": "^1.1.0-alpha.8",
15
+ "@contember/engine-system-api": "^1.1.0-alpha.8",
16
+ "@contember/engine-tenant-api": "^1.1.0-alpha.8",
17
+ "@contember/graphql-utils": "^1.1.0-alpha.8",
18
+ "@contember/schema": "^1.1.0-alpha.8",
19
+ "@contember/schema-utils": "^1.1.0-alpha.8",
20
20
  "@graphql-tools/merge": "^6.2.14",
21
21
  "@graphql-tools/schema": "^8.3.5",
22
22
  "@types/lru-cache": "^5.1.0",
@@ -46,7 +46,7 @@ export class GraphQlSchemaFactory {
46
46
  }
47
47
  const { permissions, verifier } = this.permissionFactory.createPermissions(schema, identity)
48
48
 
49
- const authorizator = new Authorizator(permissions)
49
+ const authorizator = new Authorizator(permissions, schema.acl.customPrimary ?? false)
50
50
  const dataSchemaBuilder = this.graphqlSchemaBuilderFactory.create(schema.model, authorizator)
51
51
  const contentSchemaFactory = new IntrospectionSchemaDefinitionFactory(
52
52
  new IntrospectionSchemaFactory(