Ship the full Communication portal (real SMS API, feature-locked future channels), BFF proxy, docs, snapshot, and phase handover. Co-authored-by: Cursor <cursoragent@cursor.com>
28 lines
940 B
TypeScript
28 lines
940 B
TypeScript
/** Mirrors backend app/permissions/definitions.py */
|
|
export const COMMUNICATION_PERMISSIONS = [
|
|
"communication.view",
|
|
"communication.manage",
|
|
"communication.providers.view",
|
|
"communication.providers.manage",
|
|
"communication.senders.view",
|
|
"communication.senders.manage",
|
|
"communication.templates.view",
|
|
"communication.templates.manage",
|
|
"communication.templates.approve",
|
|
"communication.contacts.view",
|
|
"communication.contacts.manage",
|
|
"communication.sources.view",
|
|
"communication.sources.manage",
|
|
"communication.messages.view",
|
|
"communication.messages.send",
|
|
"communication.messages.cancel",
|
|
"communication.queue.view",
|
|
"communication.queue.manage",
|
|
"communication.otp.request",
|
|
"communication.otp.verify",
|
|
"communication.webhooks.manage",
|
|
"communication.monitoring.view",
|
|
] as const;
|
|
|
|
export type CommunicationPermission = (typeof COMMUNICATION_PERMISSIONS)[number];
|