feat(phase698): role override CSV and effective permission export mesh parity (v0.8.673)
Add signed channel permission overwrite CSV mesh (RPC 114) and effective permission export (RPC 115) with permission-csv UI, platform mixin, delivery receipts, ui-flow IPC, agentctl journeys, and test:ci-phase698 regression bundle.
This commit is contained in:
@@ -2700,6 +2700,45 @@ async function dispatchUiMessage (platform, msg, hooks = {}) {
|
|||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
if (t === 'permission-csv-modal-open') {
|
||||||
|
pushState()
|
||||||
|
send({ type: 'permission-csv-modal-opened' })
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
if (t === 'sync-role-override-csv') {
|
||||||
|
const out = await platform.pushRoleOverrideCsvToMesh()
|
||||||
|
pushState()
|
||||||
|
send({ type: 'role-override-csv-synced', ...out })
|
||||||
|
if (platform.mode === 'guild' && platform.activeChannelId) {
|
||||||
|
send({
|
||||||
|
type: 'composer-focus-channel',
|
||||||
|
channelId: platform.activeChannelId
|
||||||
|
})
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
if (t === 'clear-role-override-csv') {
|
||||||
|
await platform.clearRoleOverrideCsvExports()
|
||||||
|
pushState()
|
||||||
|
if (platform.mode === 'guild' && platform.activeChannelId) {
|
||||||
|
send({
|
||||||
|
type: 'composer-focus-channel',
|
||||||
|
channelId: platform.activeChannelId
|
||||||
|
})
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
if (t === 'push-effective-permission-export-csv') {
|
||||||
|
await platform.pushEffectivePermissionExportToMesh()
|
||||||
|
pushState()
|
||||||
|
if (platform.mode === 'guild' && platform.activeChannelId) {
|
||||||
|
send({
|
||||||
|
type: 'composer-focus-channel',
|
||||||
|
channelId: platform.activeChannelId
|
||||||
|
})
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
}
|
||||||
if (t === 'push-vanity-url-export-csv') {
|
if (t === 'push-vanity-url-export-csv') {
|
||||||
await platform.pushVanityUrlExportToMesh()
|
await platform.pushVanityUrlExportToMesh()
|
||||||
pushState()
|
pushState()
|
||||||
|
|||||||
Reference in New Issue
Block a user