This repository has been archived by the owner on Apr 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Automated ingestion and access controls #483
Comments
I would say that is a bug. The ingestor should see all datasets. What exactly is the error you get in your second case above ? |
On the client I'm getting:
And in the server:
|
Is this error appearing only recently, in the newer catamel versions ? |
Unknown. I only started this setup recently. |
What is the result of "npm run test" on your catamel version ? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have an automated ingestion routine, triggered by a message from the beamline that a data set is ready to be ingested.
My ingestion service uses a functional account to ingest...generating a token through a call to catamel.
Currently, each object that ingest (Dataset, Proposal, OrigDatablock and Sample), I use the following:
This works for ingesting the dataset. However, mys do not enjoy the "ingestor" role. So, non of them can edit files, add tags and attachments, etc.
What I would like to do is something like this:
Where a user has
proposalA
in their profilesaccessGroups
field.When I try this, the ingestion fails. The Dataset succeeds, but then subsequent objects fail because the
ingestor
user can't see the Dataset.I have a slighly kludgy fix, setting
ingestor
in theaccessGroups
field of the Dataset.This works, but is a bit ungraceful. Is there a way to modify the ingestor user's access so that it can see the Dataset even if it's not in the
ownerGroup
oraccessGroups
of the Dataset?The text was updated successfully, but these errors were encountered: