b53a97d26633a1f174a7031559a69d37e393379f chmalee Fri May 1 14:19:19 2026 -0700 Allow myVariants tracks to be shared similar to google docs, read only and read+edit access by username or for all. Last write wins. Currently no history of changes, leaving that for the next version of the feature diff --git src/hg/lib/myVariantsShare.as src/hg/lib/myVariantsShare.as new file mode 100644 index 00000000000..b56f3e02c70 --- /dev/null +++ src/hg/lib/myVariantsShare.as @@ -0,0 +1,13 @@ +table myVariantsShares +"A share record linking an owner's myVariants project to a recipient." + ( + uint id; "Auto-increment primary key" + string ownerUser; "Owner who created the share" + string shareToken; "48-char URL-safe token" + string project; "Project name, or * for all" + string db; "Assembly (hg38, mm39, etc.)" + ubyte permission; "0=read-only, 1=read-write" + string targetUser; "Specific user, or NULL for anyone with link" + string label; "Optional human-readable label" + string createdAt; "Timestamp of creation" + )