pyDataverse
pyDataverse copied to clipboard
Add users and roles
Add functionalities for Dataverse users and roles.
Prepare
- [ ] Define model for
- [ ] user
- [ ] role
- [ ] Research
- [ ] https://groups.google.com/g/dataverse-community/c/z7neLS6wd3I/m/djDkOB4qBgAJ
- [ ] https://guides.dataverse.org/en/latest/api/native-api.html#create-global-role
Snippets
{
"alias": "custom1",
"name": "Contributor Plus",
"description": "For datasets, a person who can add datasets, edit License + Terms, and edit Permissions.",
"permissions": [
"AddDataset",
"ViewUnpublishedDataset",
"DownloadFile",
"EditDataset",
"ManageDatasetPermissions",
"DeleteDatasetDraft"
]
}
Implementation
- [ ] Define requirements
- [ ]
- [ ]
- [ ] Write tests
- [ ] Write code
- [ ] Update Docs
- [ ] Write Docstrings
- [ ] Run pytest
- [ ] Run tox
- [ ] Run pylint
- [ ] Run mypy
Review
- [ ] Docs
Follow-Ups
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