Skip to content

Commit

Permalink
PR(TEST): WIP- Test Adding Permissioned Schema
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzadlone committed Feb 13, 2024
1 parent 0c2e316 commit 75ee791
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/integration/acp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,12 @@
1) `./add_policy`
- This directory tests ONLY the `Adding of a Policy` through DefraDB.
- Does NOT test DPI validation.

2) `./add_schema`
- This directory tests the loading/adding of a schema that has `@policy(id, resource)`
specified (i.e. permissioned schema). The tests ensure that only a schema linking to
a valid DPI policy is accepted. Naturally these tests will also be `Adding a Policy`
through DefraDB like in (1) before actually adding the schema. If a schema has a
policy specified that doesn't exist (or wasn't added yet), that schema WILL/MUST
be rejected in these tests.
- Tests DPI validation.

0 comments on commit 75ee791

Please sign in to comment.