Skip to content

feat: add CLI flags for policy management#204

Merged
EdouardDem merged 3 commits into
mainfrom
next
Apr 9, 2026
Merged

feat: add CLI flags for policy management#204
EdouardDem merged 3 commits into
mainfrom
next

Conversation

@EdouardDem
Copy link
Copy Markdown
Member

No description provided.

EdouardDem and others added 3 commits April 7, 2026 11:07
…#201)

* docs: add repository overview and package responsibilities to CLAUDE.md

* chore: run format

* chore: add .claude/ to .gitignore
The --no-collections commander flag always injected collections: true into
the command options, which then overrode collections: false set in the
config file. Strip the default like we already do for snapshot/split/specs
so the config file value is honored.
* feat(cli): add --no-sync-policy-roles flag

Allows leaving role ↔ policy attachments (directus_access entries)
untouched on the target instance, so end-user-managed assignments are
not overwritten by sync.

Closes #199

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* style: prettier

* docs: document --no-sync-policy-roles flag

* fix(cli): update PoliciesDataMapper to conditionally set fieldsToIgnore

* fix(e2e): simplify policy role assertions by using getDumpedSystemCollectionsContents

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@EdouardDem EdouardDem changed the title Add CLI flags for policy management feat: add CLI flags for policy management Apr 9, 2026
@EdouardDem EdouardDem merged commit d1bb1d8 into main Apr 9, 2026
3 of 4 checks passed
@EdouardDem EdouardDem deleted the next branch April 11, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant