The user profile contains a list (note: not a subcollection) of log names
Update logic:
When...
Logs are retrieved
A log is added or modified
Check that the list for that log is present in the account's list of known logs
Deleting lists:
Not required for now, but these requirements below would suffice for deleting:
Make it possible to delete a list, and when a list is deleted it will delete all logs with that list
Ensure the UX confirms that all logs for the list will be deleted
It might be a good idea to have an "archive" where logs go if their list is deleted, instead. Then a separate UX for the archive where logs can be permanently deleted. There would just be an "isArchived" field added to logs in the archive.
Storage:
Update logic:
Deleting lists: