dandi / dandi/dandi-archive

Add non-contributor users with readonly access to embargoed dandiset

Open
#2,174 1 comment 0 reactions 0 assignees View on GitHub
enhancement UX
Dominant language
Python
Stars
26
Forks
21
Avg merge
4d 23h
Merged PRs (30d)
15

Description

### Proposed change

There are times when you may want to share an embargoed dandiset with DANDI users who are not actually contributors, for example giving them readonly access so they can run some processing on it or generate visualizations. Right now I think the only way to do this is to add them as contributors. But this doesn't seem appropriate if they have not actually contributed to the creation of the dandiset. I am thinking specifically about my situation, where I'd like access to some embargoed dandisets for the purpose of helping with processing or generating visualizations.

Perhaps the simplest way to make this change is to optionally flag a "contributor" as non-contributing. That sounds silly, so there's probably a better name for it: "viewer" or "read-only-member". Then on the dandiset page, they would be listed as "viewers", separate from "contributors" (or perhaps not listed at all). In order to not have to make structural changes to the data model, I would suggest that they could still be included internally in the list of "contributors".

### Who would use this feature?

This feature would be very helpful to users who would like to request read-only access to embargoed datasets without needing to be added as contributors.

### (Optional): Suggest a solution

As mentioned above, add a flag such as "read-only-member" or "viewer" to a contributor. Then list them differently (or not at all) on the main dandiset page.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by tracing how contributors are represented and how embargoed dandiset access is granted, then inspect how the dandiset page lists contributors. Done means non-contributor users can receive read-only access without being treated as contributors, with the intended listing behavior defined and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
authorization, backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.