openvibers/openvibe.network Commits
Chat grants (Wave 6): chat reads Live's chat context/effects/mirror; Live bridges to Chat and reads presence; openvibe-contracts v0.13.0
Changes
@@@ -20,7 +20,7 @@"helmet": "^8.1.0","jsonwebtoken": "^9.0.0","multer": "^1.4.5-lts.1",-- "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.8.0",++ "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.13.0","openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v1.2.1","uuid": "^11.1.0","web-push": "^3.6.7"@@@ -1464,9 +1464,9 @@}},"node_modules/openvibe-contracts": {-- "version": "0.8.0",-- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.8.0",-- "integrity": "sha512-2Msdb+k+fJZf9kQTPS2jdY8+o9FhL9tBuu3FzArHs3JcBcc06ReHpOi2sgnSBgQcSvZSaSsWT2YVbmhjnEplqQ==",++ "version": "0.13.0",++ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.13.0",++ "integrity": "sha512-MeIGJYHQsbr6ISeEErduUw/PD52X5IBclH2ht/G/t4lSX5X4o2AwcZYLEzOZrcbaXQyplgC7r86RCGFvi1ifUA==","license": "AGPL-3.0-only","dependencies": {"ajv": "^8.17.1",@@@ -23,7 +23,7 @@"helmet": "^8.1.0","jsonwebtoken": "^9.0.0","multer": "^1.4.5-lts.1",-- "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.8.0",++ "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.13.0","openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v1.2.1","uuid": "^11.1.0","web-push": "^3.6.7"@@@ -49,6 +49,13 @@ const DEFAULT_GRANTS = [['live', 'community.comment.write', 'openvibe.community', []],['live', 'community.comment.moderate', 'openvibe.community', []],['live', 'community.pulse.write', 'openvibe.community', []],++ // Wave 6: OpenVibe.Chat reads Live's chat context, asks Live for effects and mirrors chat rows++ // back; Live bridges its remaining chat writers to Chat and reads presence.++ ['chat', 'live.chat_context.read', 'openvibe.live', []],++ ['chat', 'live.chat_effects.write', 'openvibe.live', []],++ ['chat', 'live.chat_mirror.write', 'openvibe.live', []],++ ['live', 'chat.live_bridge.write', 'openvibe.chat', []],++ ['live', 'chat.presence.read', 'openvibe.chat', []],];// Grants withdrawn by decision; applied at every boot so an old default can't come back.
@@ -20,7 +20,7 @@
@@ -20,7 +20,7 @@
"helmet": "^8.1.0",
"helmet": "^8.1.0",
"jsonwebtoken": "^9.0.0",
"jsonwebtoken": "^9.0.0",
"multer": "^1.4.5-lts.1",
"multer": "^1.4.5-lts.1",
- "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.8.0",
+ "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.13.0",
"openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v1.2.1",
"openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v1.2.1",
"uuid": "^11.1.0",
"uuid": "^11.1.0",
"web-push": "^3.6.7"
"web-push": "^3.6.7"
@@ -1464,9 +1464,9 @@
@@ -1464,9 +1464,9 @@
}
}
},
},
"node_modules/openvibe-contracts": {
"node_modules/openvibe-contracts": {
- "version": "0.8.0",
- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.8.0",
- "integrity": "sha512-2Msdb+k+fJZf9kQTPS2jdY8+o9FhL9tBuu3FzArHs3JcBcc06ReHpOi2sgnSBgQcSvZSaSsWT2YVbmhjnEplqQ==",
+ "version": "0.13.0",
+ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.13.0",
+ "integrity": "sha512-MeIGJYHQsbr6ISeEErduUw/PD52X5IBclH2ht/G/t4lSX5X4o2AwcZYLEzOZrcbaXQyplgC7r86RCGFvi1ifUA==",
"license": "AGPL-3.0-only",
"license": "AGPL-3.0-only",
"dependencies": {
"dependencies": {
"ajv": "^8.17.1",
"ajv": "^8.17.1",
@@ -23,7 +23,7 @@
@@ -23,7 +23,7 @@
"helmet": "^8.1.0",
"helmet": "^8.1.0",
"jsonwebtoken": "^9.0.0",
"jsonwebtoken": "^9.0.0",
"multer": "^1.4.5-lts.1",
"multer": "^1.4.5-lts.1",
- "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.8.0",
+ "openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.13.0",
"openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v1.2.1",
"openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v1.2.1",
"uuid": "^11.1.0",
"uuid": "^11.1.0",
"web-push": "^3.6.7"
"web-push": "^3.6.7"
@@ -49,6 +49,13 @@ const DEFAULT_GRANTS = [
@@ -49,6 +49,13 @@ const DEFAULT_GRANTS = [
['live', 'community.comment.write', 'openvibe.community', []],
['live', 'community.comment.write', 'openvibe.community', []],
['live', 'community.comment.moderate', 'openvibe.community', []],
['live', 'community.comment.moderate', 'openvibe.community', []],
['live', 'community.pulse.write', 'openvibe.community', []],
['live', 'community.pulse.write', 'openvibe.community', []],
+ // Wave 6: OpenVibe.Chat reads Live's chat context, asks Live for effects and mirrors chat rows
+ // back; Live bridges its remaining chat writers to Chat and reads presence.
+ ['chat', 'live.chat_context.read', 'openvibe.live', []],
+ ['chat', 'live.chat_effects.write', 'openvibe.live', []],
+ ['chat', 'live.chat_mirror.write', 'openvibe.live', []],
+ ['live', 'chat.live_bridge.write', 'openvibe.chat', []],
+ ['live', 'chat.presence.read', 'openvibe.chat', []],
];
];
// Grants withdrawn by decision; applied at every boot so an old default can't come back.
// Grants withdrawn by decision; applied at every boot so an old default can't come back.