Support (delegated) collection provisioning without a global administrator token #290
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
orinoco/dump-things-service#290
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
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.
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?