@things-factory/auth-base 6.4.0 → 6.4.2
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": "@things-factory/auth-base",
|
3
|
-
"version": "6.4.
|
3
|
+
"version": "6.4.2",
|
4
4
|
"main": "dist-server/index.js",
|
5
5
|
"browser": "dist-client/index.js",
|
6
6
|
"things-factory": true,
|
@@ -30,10 +30,10 @@
|
|
30
30
|
"migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
|
31
31
|
},
|
32
32
|
"dependencies": {
|
33
|
-
"@things-factory/email-base": "^6.4.
|
33
|
+
"@things-factory/email-base": "^6.4.2",
|
34
34
|
"@things-factory/env": "^6.3.0",
|
35
|
-
"@things-factory/i18n-base": "^6.4.
|
36
|
-
"@things-factory/shell": "^6.4.
|
35
|
+
"@things-factory/i18n-base": "^6.4.2",
|
36
|
+
"@things-factory/shell": "^6.4.2",
|
37
37
|
"@things-factory/utils": "^6.3.1",
|
38
38
|
"jsonwebtoken": "^9.0.0",
|
39
39
|
"koa-passport": "^6.0.0",
|
@@ -43,5 +43,5 @@
|
|
43
43
|
"passport-local": "^1.0.0",
|
44
44
|
"popsicle-cookie-jar": "^1.0.0"
|
45
45
|
},
|
46
|
-
"gitHead": "
|
46
|
+
"gitHead": "786d16d546045fba8e1c3542ec31d4eddbf4e7a1"
|
47
47
|
}
|
@@ -123,6 +123,7 @@ export class RoleQuery {
|
|
123
123
|
return await getRepository(Domain).findOneBy({ id: role.domainId })
|
124
124
|
}
|
125
125
|
|
126
|
+
@Directive('@privilege(category: "user", privilege: "query", domainOwnerGranted: true, superUserGranted: true)')
|
126
127
|
@FieldResolver(type => [User])
|
127
128
|
async users(@Root() role: Role) {
|
128
129
|
return (
|