fides
fides copied to clipboard
fix: add opt-out flag to fides init
Summary
- Closes #4703
- add
--opt-outflag tofides initso non-interactive setups can disable analytics - guard against mixing
--opt-in/--opt-outand thread the new option through config creation - extend analytics consent unit tests and update the changelog entry
Testing
- pytest tests/ctl/core/config/test_create.py
Manual Verification
- Ensure Docker Desktop is running and copy
example.envto.envif needed. - Launch the dev stack through nox and drop into the webserver container shell:
nox -s dev -- shell. Once the shell opens, run:mkdir -p /tmp/fides-init-check && cd /tmp/fides-init-checkfides init --opt-outgrep analytics_opt_out .fides/fides.toml(should readtrue)fides init --opt-in --opt-out(fails with "--opt-in and --opt-out cannot be used together")exitto leave the container shell.
- Execute the control-plane unit tests via nox:
nox -s pytest -- ctl-unit. (This coverstests/ctl/core/config/test_create.py; alternatively run the file directly inside the container if preferred.) - Tear everything down when finished:
nox -s teardown -- volumes.
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
| Project | Deployment | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| fides-privacy-center | Sep 24, 2025 0:33am |
Someone is attempting to deploy a commit to the Ethyca Team on Vercel.
A member of the Team first needs to authorize it.