Support (delegated) collection provisioning without a global administrator token #290

Open
opened 2026-10-14 14:08:01 +00:00 by venkateshhs · 2 comments
Owner

Creating and configuring a collection requires a Dump Things administrator token. Giving such a token to a browser application is unsafe because it would allow every user of that application to retrieve the credential. Dump Things should support a more restricted collection provisioning mechanism.

Creating and configuring a collection requires a Dump Things administrator token. Giving such a token to a browser application is unsafe because it would allow every user of that application to retrieve the credential. Dump Things should support a more restricted collection provisioning mechanism.
Author
Owner

Relavance to case-e:
Under the proposed one-collection-per-study model, creating a study also requires creating a Dump Things collection. Without delegated provisioning, case-e needs a separate privileged service, Forgejo Action, or manual administrator step for every new study.

Relavance to case-e: Under the proposed one-collection-per-study model, creating a study also requires creating a Dump Things collection. Without delegated provisioning, case-e needs a separate privileged service, Forgejo Action, or manual administrator step for every new study.
Owner

I am not sure that I completely understand the threat scenario.

Is there an application that allows users to create and delete collections? If this is the case, we could introduce a mechanism that limits admin tokens to certain operations. Any such application would then have tokens that can only create (and possibly delete) collections.

Would that be something that fixes the issue?

I am not sure that I completely understand the threat scenario. Is there an application that allows users to create and delete collections? If this is the case, we could introduce a mechanism that limits admin tokens to certain operations. Any such application would then have tokens that can only create (and possibly delete) collections. Would that be something that fixes the issue?
Sign in to join this conversation.
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
orinoco/dump-things-service#290
No description provided.