[Calendar] Introduce permissions for editing events

This commit is contained in:
metacryst
2026-04-30 02:07:35 -05:00
parent 8b083ae7bb
commit 19a810ef78
7 changed files with 91 additions and 63 deletions

View File

@@ -1,7 +1,7 @@
export async function saveMemberNote(email, text) {
console.log("saving note: ", email, text)
try {
await this.sql`
await context.sql`
UPDATE members
SET notes = ${text}
WHERE email = ${email}
@@ -14,7 +14,7 @@ export async function saveMemberNote(email, text) {
export async function getPeople(networkId) {
try {
const people = await this.sql`
const people = await context.sql`
SELECT
m.*,
mn.created AS joined_network,