@live-change/access-control-frontend 0.8.116 → 0.8.118

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.
@@ -52,10 +52,12 @@
52
52
  const notificationApi = actions.notification
53
53
  const accessControlApi = actions.accessControl
54
54
 
55
- const invitationPath = computed(() => path.accessControl.myAccessInvitation({
56
- objectType: notification.objectType,
57
- object: notification.object
58
- }))
55
+ const invitationPath = computed(() => notification.objectType && notification.object
56
+ && path.accessControl.myAccessInvitation({
57
+ objectType: notification.objectType,
58
+ object: notification.object
59
+ })
60
+ )
59
61
 
60
62
  const [invitation] = await Promise.all([
61
63
  live(invitationPath)
@@ -62,6 +62,11 @@ export function createRouter(app, config) {
62
62
  redirect: { name: 'accessControl:testPage' }
63
63
  },
64
64
 
65
+ {
66
+ name: 'accessControl:invitationFallback', path: '/fallback', meta: { },
67
+ redirect: { name: 'accessControl:testPage' }
68
+ },
69
+
65
70
  ...dbAdminRoutes({ prefix: '/_db', route: r => ({ ...r, meta: { ...r.meta, raw: true }}) })
66
71
  ]
67
72
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/access-control-frontend",
3
- "version": "0.8.116",
3
+ "version": "0.8.118",
4
4
  "scripts": {
5
5
  "memDev": "node server/start.js memDev --enableSessions --initScript ./init.js --dbAccess",
6
6
  "localDevInit": "rm tmp.db; lcli localDev --enableSessions --initScript ./init.js",
@@ -21,22 +21,22 @@
21
21
  },
22
22
  "type": "module",
23
23
  "dependencies": {
24
- "@live-change/access-control-service": "^0.8.116",
25
- "@live-change/cli": "^0.8.116",
26
- "@live-change/dao": "^0.8.116",
27
- "@live-change/dao-vue3": "^0.8.116",
28
- "@live-change/dao-websocket": "^0.8.116",
29
- "@live-change/db-admin": "^0.8.116",
30
- "@live-change/framework": "^0.8.116",
31
- "@live-change/frontend-base": "^0.8.116",
32
- "@live-change/password-authentication-service": "^0.8.116",
33
- "@live-change/secret-code-service": "^0.8.116",
34
- "@live-change/secret-link-service": "^0.8.116",
35
- "@live-change/session-service": "^0.8.116",
36
- "@live-change/user-frontend": "^0.8.116",
37
- "@live-change/user-service": "^0.8.116",
38
- "@live-change/vue3-components": "^0.8.116",
39
- "@live-change/vue3-ssr": "^0.8.116",
24
+ "@live-change/access-control-service": "^0.8.118",
25
+ "@live-change/cli": "^0.8.118",
26
+ "@live-change/dao": "^0.8.118",
27
+ "@live-change/dao-vue3": "^0.8.118",
28
+ "@live-change/dao-websocket": "^0.8.118",
29
+ "@live-change/db-admin": "^0.8.118",
30
+ "@live-change/framework": "^0.8.118",
31
+ "@live-change/frontend-base": "^0.8.118",
32
+ "@live-change/password-authentication-service": "^0.8.118",
33
+ "@live-change/secret-code-service": "^0.8.118",
34
+ "@live-change/secret-link-service": "^0.8.118",
35
+ "@live-change/session-service": "^0.8.118",
36
+ "@live-change/user-frontend": "^0.8.118",
37
+ "@live-change/user-service": "^0.8.118",
38
+ "@live-change/vue3-components": "^0.8.118",
39
+ "@live-change/vue3-ssr": "^0.8.118",
40
40
  "@vueuse/core": "^10.11.0",
41
41
  "codeceptjs-assert": "^0.0.5",
42
42
  "compression": "^1.7.4",
@@ -53,7 +53,7 @@
53
53
  "vue3-scroll-border": "0.1.6"
54
54
  },
55
55
  "devDependencies": {
56
- "@live-change/codeceptjs-helper": "^0.8.116",
56
+ "@live-change/codeceptjs-helper": "^0.8.118",
57
57
  "codeceptjs": "^3.6.5",
58
58
  "generate-password": "1.7.1",
59
59
  "playwright": "^1.41.2",
@@ -64,5 +64,5 @@
64
64
  "author": "Michał Łaszczewski <michal@laszczewski.pl>",
65
65
  "license": "BSD-3-Clause",
66
66
  "description": "",
67
- "gitHead": "32131af3707ec744c9d314035676d09512483799"
67
+ "gitHead": "cfccde9b1d340cbb23df96a2f0fba72da0a6e3ab"
68
68
  }