Logic is needed to prevent the creation of duplicates (per user, bear in mind some users may bookmark the same link as another! which needs to be permitted)
a check on the database before creating a new one would cover this, but needs to include a search for user and either title or link - we need think about which one.
I was thinking about this today. I think what will do is checking if a tab exists with both a matching userid and link, if it does, return a message saying tab already exists.
Logic is needed to prevent the creation of duplicates (per user, bear in mind some users may bookmark the same link as another! which needs to be permitted)
a check on the database before creating a new one would cover this, but needs to include a search for user and either title or link - we need think about which one.