Question about email when publishing a Dataverse

60 views
Skip to first unread message

joe chow

unread,
Sep 19, 2022, 5:08:17 AM9/19/22
to Dataverse Users Community
Hi everyone,

I have a question about the email when the Dataverse is published.
When I tried to publish a Dataverse as the admin role of the Dataverse, I receive an email titled "You have been assigned a role", and no email about the Dataverse is published. 
I checked the PublishDataverseCommand.java (https://github.com/IQSS/dataverse/blob/v5.11.1/src/main/java/edu/harvard/iq/dataverse/engine/command/impl/PublishDataverseCommand.java) and in line 60 it mentions that "Before setting dataverse to released send notifications to users with download file".
Does it means that when a Dataverse is published, the system will send an email about role assignment to the user who can download file in that Dataverse, and no other email will be sent to the user?

Thanks,
Joe

Julian Gautier

unread,
Sep 26, 2022, 4:04:29 PM9/26/22
to Dataverse Users Community
Hi Joe. Have you already been helped in another channel (like over personal email or in Matrix chat)? I'd like to help, but don't want to duplicate another colleague's efforts here. :)

joe chow

unread,
Sep 27, 2022, 4:59:29 AM9/27/22
to Dataverse Users Community
Hi Julian,

I have not been helped on this issue.

Thanks,
Joe

Julian Gautier 在 2022年9月27日 星期二凌晨4:04:29 [UTC+8] 的信中寫道:

Julian Gautier

unread,
Sep 28, 2022, 9:25:00 AM9/28/22
to Dataverse Users Community
Ah, well thanks for your patience!

I'm no developer so I can't talk about the code, but I did some checking on Demo Dataverse, which is running Dataverse v5.11.1. When a Dataverse collection is published, the system will send an in-app notification (in the Notifications tab of the users' account page) to all accounts that have been given a File Downloader role on the collection. As far as I can tell, those users don't get these notifications as email notifications; they get only the in-app notification.

I've tried to maintain an "Inventory of Dataverse email and in-app user notifications" and just added this information. I hope that document is helpful, although some information is probably wrong or missing. It's also tough to organize it in a spreadsheet like this, especially with these kinds of exceptions. Maybe something like a flowchart would make more sense.

joe chow

unread,
Sep 29, 2022, 4:45:39 AM9/29/22
to Dataverse Users Community
Hi Julian,

Thank you for sharing the document about the emails and in-app user notifications.
For the email received when publishing the Dataverse, I tested with Dataverse v5.10.1 and I received the email about the role assignment. Also, I received the in-app notification when publishing the Dataverse.

Thanks,
Joe

Julian Gautier 在 2022年9月28日 星期三晚上9:25:00 [UTC+8] 的信中寫道:

Julian Gautier

unread,
Sep 29, 2022, 2:32:30 PM9/29/22
to Dataverse Users Community
Glad to help!

So just to clarify, when a Dataverse collection is published:
  • the notifications sent to users are about the collection roles that have been assigned to those users, e.g. You have been granted the {role names, comma separated} role for {hyperlinked dataverse name}
  • the notifications don't say that the collection was published
Would it be helpful if the emails users receive indicate that the collection has been published?

joe chow

unread,
Sep 30, 2022, 9:48:40 AM9/30/22
to Dataverse Users Community
Hi Julian,

Yes, I think it would be helpful if the emails indicate that the collection has been published.

Thanks,
Joe

Julian Gautier 在 2022年9月30日 星期五凌晨2:32:30 [UTC+8] 的信中寫道:

Julian Gautier

unread,
Sep 30, 2022, 9:58:57 AM9/30/22
to Dataverse Users Community
👍 Why would it be helpful if you receive an email that the collection has been published after you've published the collection?

Sherry Lake

unread,
Sep 30, 2022, 10:16:30 AM9/30/22
to dataverse...@googlegroups.com
I could see a use case if there were multiple "admins" for a collection and one of the admins published the collection, with a "publish email notification"  all admins would get that notice.

--
Sherry


--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/6b5e8522-14a3-4c77-a020-0227dc9409d0n%40googlegroups.com.

joe chow

unread,
Oct 2, 2022, 7:52:06 AM10/2/22
to Dataverse Users Community
Yes. Also, when the admins assign permission to the users in a published Dataverse, the users will receive an email for role assignment. With the "publish email notification", it will be clear to the user.

Thanks,
Joe

shla...@gmail.com 在 2022年9月30日 星期五晚上10:16:30 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages