Hi all,
While experimenting with socalled mail groups (
https://guides.dataverse.org/en/latest/admin/mail-groups.html) I struggle with adding roles to it via the API.
You can (and have to) create that group via the API, but I can only assign a role to if via the UI.
For example, on a 6.0 dev box with a 'dans' collection and &maildomain/exampleorg:
returns
{"status":"ERROR","message":"Can't find &maildomain/exampleorg in dataverse 2"}
I also tried the id (number) of the group, but that did not work either.
This is following the guide;
https://guides.dataverse.org/en/latest/api/native-api.html#add-a-role-assignee-to-an-explicit-groupThe name suggest it only works for explicit groups and not for mail domain groups, so how should it be done?
Maybe I am doing something wrong, or maybe the omission is intentional.
Any suggestions are welcome.