mgmt: Add organization groups, effective roles, and effective permissions APIs#1022
Merged
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #1022 +/- ##
==========================================
+ Coverage 31.47% 31.94% +0.47%
==========================================
Files 2742 2788 +46
Lines 109195 110955 +1760
Branches 6419 6506 +87
==========================================
+ Hits 34373 35449 +1076
- Misses 73014 73640 +626
- Partials 1808 1866 +58
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
964d328 to
65ab62e
Compare
kailash-b
approved these changes
May 28, 2026
Merged
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
This PR regenerates the SDK to match the latest Auth0 Management API definition. The changes include:
New Endpoints & Clients:
Organizations Groups (
Organizations.Groups)ListAsync()- List groups in an organizationOrganizations.Groups.Roles.ListAsync()- List roles assigned to an organization groupOrganizations.Groups.Roles.CreateAsync()- Assign roles to an organization groupOrganizations.Groups.Roles.DeleteAsync()- Remove roles from an organization groupOrganization Member Effective Roles (
Organizations.Members.EffectiveRoles)ListAsync()- List effective roles for an organization memberSources.Groups.ListAsync()- List group sources for a member's effective roleUser Effective Permissions (
Users.EffectivePermissions)ListAsync()- List effective permissions for a userSources.Roles.ListAsync()- List role sources for a user's effective permissionUser Effective Roles (
Users.EffectiveRoles)ListAsync()- List effective roles for a userSources.Groups.ListAsync()- List group sources for a user's effective roleRoles Groups (
Roles.Groups)ListAsync()- List groups associated with a roleAssignAsync()- Assign groups to a roleRemoveAsync()- Remove groups from a roleNew Types:
TenantSettingsCountryCodes/TenantSettingsCountryCodesResponse- Phone country code configuration for identifier inputTenantSettingsCountryCodesMode/TenantSettingsCountryCodesModeResponse- Mode enum for country codesOrganizationMemberEffectiveRole/OrganizationMemberEffectiveRoleSourceUserEffectiveRole/UserEffectiveRoleSourceUserEffectivePermissionResponseContent/UserEffectivePermissionSourceEnumUserEffectivePermissionRoleSourceResponseContent/UserEffectivePermissionRoleSourceEnumClasses/Interfaces Changed (new properties added):
IOrganizationsClient- addedGroupspropertyIMembersClient- addedEffectiveRolespropertyIUsersClient- addedEffectivePermissionsandEffectiveRolespropertiesIRolesClient- addedGroupspropertyUpdateTenantSettingsRequestContent- addedCountryCodespropertyGetTenantSettingsResponseContent/UpdateTenantSettingsResponseContent- addedCountryCodespropertyNew OAuth Scopes:
create:organization_group_roles,read:organization_group_roles,delete:organization_group_rolesread:organization_groupsread:organization_member_effective_roles,read:organization_member_role_source_groupsread:user_effective_permissions,read:user_effective_rolesread:user_permission_source_roles,read:user_role_source_groupsDocumentation reformatting (non-functional):
XML doc comments across all existing clients were converted from XML-style formatting (
<see href>,<c>,<list>,<b>) to markdown-style formatting (links, backticks, bullet lists,bold).
References
2.66.5.Testing
This change adds unit test coverage
This change adds integration test coverage
This change has been tested on the latest version of the platform/language or why not
Checklist
I have read the Auth0 general contribution guidelines
I have read the Auth0 Code of Conduct
All existing and new tests complete without errors