Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Tests probably shouldn't require write authorization to the collections being ingested into #18

Open
psFried opened this issue Jun 9, 2022 · 0 comments

Comments

@psFried
Copy link
Member

psFried commented Jun 9, 2022

Say you have a test:

tests:
  coyote/anvils/does_the_thing_when_anvil_is_dropped:
    - ingest:
        collection: acmeCo/anvils
        documents: [...]
    - verify:
        collection: coyote/anvils/drops
        documents: [...]

Flow currently checks that the role coyote/anvils/does_the_thing_when_anvil_is_dropped has write capability to acmeCo/anvils. I think we should consider easing that restriction to only require read access, which would make it possible to write tests for derivations that read from collections you don't have write access to.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant