netbird/.github
Ali Amer d9402168ad
[management] Add option to disable default all-to-all policy (#3970)
This PR introduces a new configuration option `DisableDefaultPolicy` that prevents the creation of the default all-to-all policy when new accounts are created. This is useful for automation scenarios where explicit policies are preferred.
### Key Changes:
- Added DisableDefaultPolicy flag to the management server config
- Modified account creation logic to respect this flag
- Updated all test cases to explicitly pass the flag (defaulting to false to maintain backward compatibility)
- Propagated the flag through the account manager initialization chain

### Testing:

- Verified default behavior remains unchanged when flag is false
- Confirmed no default policy is created when flag is true
- All existing tests pass with the new parameter
2025-07-02 02:41:59 +02:00
..
ISSUE_TEMPLATE [misc] Update issue template (#3842) 2025-05-19 15:41:24 +02:00
workflows [management] Add option to disable default all-to-all policy (#3970) 2025-07-02 02:41:59 +02:00
FUNDING.yml Create FUNDING.yml (#2814) 2024-10-30 17:25:02 +01:00
pull_request_template.md Fix CLA link in the PR template (#3860) 2025-05-22 10:38:58 +02:00