7d56cd6635651dfd4c9926d062d92ad7b65a3e80
chmalee
  Wed Jun 3 14:52:52 2026 -0700
More myVariants changes: make the share to accept a comma-sep list of usernames, allow both the read/edit flag and the usernames setting to be editable after creation. When editing usernames, add a confirmation if the field is left blank that this will make the share viewable/editable by anyone with the link, refs #33808

diff --git src/hg/lib/myVariantsShare.as src/hg/lib/myVariantsShare.as
index b56f3e02c70..ec26afd3e42 100644
--- src/hg/lib/myVariantsShare.as
+++ src/hg/lib/myVariantsShare.as
@@ -1,13 +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 targetUser;    "Comma-separated usernames, or NULL for anyone with link"
     string label;         "Optional human-readable label"
     string createdAt;     "Timestamp of creation"
     )