Implement canDownloadFiles and canManageFilesPermissions fields for dataset user permission
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- api, authorization
Research direction
Start with src/datasets/domain/models/DatasetUserPermissions.ts and compare the existing dataset user permission fields with the requested canDownloadFiles and canManageFilesPermissions fields. Read the native API documentation for “Know If a User Can Download at Least One File from a Dataset Version” to determine whether it informs canDownloadFiles. Done means both fields are represented in the permission model and their data source is established.
Written by the indexing model from the issue text.
Description
Inspired from this issue/TODO in front-end repo, in Dataset Permissions, it asked about adding canDownloadFiles and canManageFilesPermissions permission fields to js-dataverse. Based on the dataset user permission model in js-dataverse repo, we don't have these two fields yet.
In native API, one endpoint Know If a User Can Download at Least One File from a Dataset Version may be relevant to the canDownloadFiles field.
- Dominant language
- TypeScript
- Stars
- 20
- Forks
- 11
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from IQSS/dataverse-client-javascript
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
IQSS/dataverse-client-javascript#477 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
IQSS/dataverse-client-javascript#476 · 4 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
IQSS/dataverse-client-javascript#465 · 1 comment · 2 reactions ·
-
GREI Re-arch
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
All issues in IQSS/dataverse-client-javascript
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
dennys-bd/agent-hive#184 ·
-
Add: hunch Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AbdelStark/awesome-typesafe#104 ·
-
ai-observability bug team/ai-observability
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vicharanashala/fln#563 ·