feat: restrict member actions based on access level - #460
Merged
rax7389 merged 3 commits intoAug 8, 2026
Conversation
Contributor
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@packages/core/src/i18n/translations/en-US.json`:
- Line 1205: Update the readonly_member_tooltip translation to use
access-level-neutral wording that describes unavailable modification access, so
it is accurate for both read-only members and members with access_level "none".
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 661a71ba-592e-4bc8-a470-d1a14a4dbbf9
📒 Files selected for processing (14)
packages/core/src/i18n/translations/en-US.jsonpackages/react/src/components/auth0/my-organization/shared/member-management/members/members-table/__tests__/organization-member-table-actions-column.test.tsxpackages/react/src/components/auth0/my-organization/shared/member-management/members/members-table/organization-member-table-actions-column.tsxpackages/react/src/components/auth0/my-organization/shared/member-management/organization-member-detail/__tests__/organization-member-details-tab.test.tsxpackages/react/src/components/auth0/my-organization/shared/member-management/organization-member-detail/__tests__/organization-member-roles-tab.test.tsxpackages/react/src/components/auth0/my-organization/shared/member-management/organization-member-detail/organization-member-details-tab.tsxpackages/react/src/components/auth0/my-organization/shared/member-management/organization-member-detail/organization-member-roles-tab.tsxpackages/react/src/hooks/my-organization/__tests__/use-member-management-service.test.tspackages/react/src/hooks/my-organization/shared/services/use-member-management-service.tspackages/react/src/lib/constants/my-organization/member-management/member-management-constants.tspackages/react/src/lib/utils/my-organization/member-management/__tests__/member-management-utils.test.tsxpackages/react/src/lib/utils/my-organization/member-management/member-management-utils.tspackages/react/src/tests/utils/__mocks__/my-organization/member-management/member.mocks.tspackages/react/src/types/my-organization/member-management/organization-member-detail-types.ts
NaveenChand755
approved these changes
Aug 7, 2026
Base automatically changed from
feat/member-access-filter
to
feat/my-org-ea-branch
August 8, 2026 11:20
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.
Summary
Implement Member Access Level Gating to control what actions OrgAdmins can perform on members based on their computed
access_levelfield.Why
Members with
readonlyornoneaccess levels should not be modifiable (assign/remove roles, remove from org). This is part of the Member Management EA1 feature set (UIC-1170).What
canMutateMember()utility function that returns true only for 'limited' or 'full' access levelsaccess_levelto member list fields queryPackages
packages/corepackages/reactexamplesReferences
Testing
Checklist
Contributing
🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Bug Fixes