feat: Add Google Workspace inbound group sync support to directory provisioning#1380
Open
kushalshit27 wants to merge 2 commits intomasterfrom
Open
Conversation
- docs/resource-specific-documentation.md: add api_enable_groups option - examples/directory/connections/google-apps.json: include api_enable_groups in options - examples/yaml/tenant.yaml: add api_enable_groups to tenant configuration - src/tools/auth0/handlers/connections.ts: update schema to include api_enable_groups - test/context/yaml/connections.test.js: add test for api_enable_groups in YAML context - test/tools/auth0/handlers/connections.tests.js: add tests for api_enable_groups handling
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1380 +/- ##
==========================================
- Coverage 79.85% 79.79% -0.06%
==========================================
Files 153 153
Lines 7023 7052 +29
Branches 1537 1547 +10
==========================================
+ Hits 5608 5627 +19
- Misses 780 784 +4
- Partials 635 641 +6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔧 Changes
api_enable_groupson connection options so Google Workspace connections can preserve inbound group provisioning settings during import and export.directory_provisioning_configuration.synchronize_groupsandsynchronized_groups, which lets Deploy CLI describe whether all groups or only selected groups should sync.synchronize_groupsthrough to the Management API, and add synchronized-group replacement logic when the connection usessynchronize_groups: selected.Examples
YAML format
JSON format
{ "name": "google-apps", "strategy": "google-apps", "options": { "domain": "example.com", "tenant_domain": "example.com", "client_id": "some_client_id", "client_secret": "some_client_secret", "api_enable_groups": true, "api_enable_users": true }, "directory_provisioning_configuration": { "synchronize_groups": "selected", "synchronized_groups": [ { "id": "group_123" } ] } }🔬 Testing
npm testto validate the new schema fields, connection option passthrough, directory provisioning payloads, synchronized-group pagination, and YAML parsing updates.📝 Checklist