╭ changed ──╮ │src/try.zig│ ╰───────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────╮ │229 }, │ │230 }; │ │231 } │ │232 - // admin collaborates on every repo, so it can write everywhere while the│ │233 - // other users can only write to their own │ │232 + // admin co-owns every repo, so it has full privileges everywhere │ │233 + // (including undo) while the other users only own their own │ │234 const admin_user_id_hex = std.fmt.bytesToHex(admin_user_id, .lower); │ │235 for (repo_data, 0..) |r, i| { │ │236 events_to_consume[user_data.len + i] = .{ │ ╰──────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────╮ │243 .name = r.name, │ │244 .description = r.description, │ │245 .read_access = r.read_access, │ │246 - .write_user_ids = &admin_user_id_hex,│ │246 + .owner_user_ids = &admin_user_id_hex,│ │247 }, │ │248 }, │ │249 }; │ ╰──────────────────────────────────────────────────────────────────╯