feat: Added support for ThirdPartyClientAccess in V1 SDK [EA Only] - #854
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v1 #854 +/- ##
=======================================
Coverage 96.88% 96.88%
=======================================
Files 62 62
Lines 11303 11317 +14
=======================================
+ Hits 10951 10965 +14
Misses 234 234
Partials 118 118 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
bkiran6398
approved these changes
Aug 26, 2026
Merged
2 tasks
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.
feat: add ThirdPartyClientAccess support to My Organization API (EA)
🔧 Changes
ThirdPartyClientAccess *MyOrganizationThirdPartyClientAccessfield toMyOrganizationConfigurationonClient, controlling whether third-party clients can access organizations created for the client through the My Organization API (Early Access).MyOrganizationThirdPartyClientAccesstype withDefaultValue *stringandAllowedValues *[]string.AllowedValuesis required wheneverThirdPartyClientAccessis set. Currently the API only accepts"block"forDefaultValue;"allow"is rejected with a 400.GetThirdPartyClientAccess,GetAllowedValues,GetDefaultValue) andString()for the new type.🔬 Testing
TestClient_MyOrganizationConfigurationThirdPartyClientAccess, covering creating a client with a validThirdPartyClientAccessconfig and asserting the API rejectsDefaultValue: "allow"with a 400.TestMyOrganizationConfiguration_GetThirdPartyClientAccess,TestMyOrganizationThirdPartyClientAccess_GetAllowedValues,TestMyOrganizationThirdPartyClientAccess_GetDefaultValue,TestMyOrganizationThirdPartyClientAccess_String).📝 Checklist