Open veustp opened 3 years ago
Thanks for the issue!
This looks like an issue more on the Dataverse side, than from pyDataverse. Have not tested the role functionalities myself, but as you used the basic request functions, they should work as expected.
@pdurbin @djbrooke Can you say more about the Java Exception raised and returned as Error message?
Hi @veustp - can you open an issue for this in main issue tracker so that we can take a look?
See https://github.com/IQSS/dataverse/issues/7633 (thanks for opening it, @veustp).
As discussed during the 2024-02-14 meeting of the pyDataverse working group, we are closing old milestones in favor of a new project board at https://github.com/orgs/gdcc/projects/1 and removing issues (like this one) from those old milestones. Please feel free to join the working group! You can find us at https://py.gdcc.io and https://dataverse.zulipchat.com/#narrow/stream/377090-python
using Windows 64bit pydataverse 0.3.0 python 3.7.9 dataverse v. 4.20 build 413-4e07b62
Using NativeApi calls
To Get A Role:
The role is found - no problem here.
To Delete A Role:
Deleting the role does not work.
Using the standard requests module:
Deleting the role:
Does not work either.
Additional remark: It was already quite difficult to get the role ID right - I expected it to be the "alias" but it needed to be the id which is nowhere displayed in the dataverse interface. It was not clear from the documentation what the ID should be that needed to be used for the API (https://guides.dataverse.org/en/latest/api/native-api.html#explicit-groups - see the Roles section)