Skip to content

feat: filter invitations list with member access level - #458

Merged
rax7389 merged 4 commits into
feat/my-org-ea-branchfrom
feat/member-access-filter
Aug 8, 2026
Merged

feat: filter invitations list with member access level#458
rax7389 merged 4 commits into
feat/my-org-ea-branchfrom
feat/member-access-filter

Conversation

@rax7389

@rax7389 rax7389 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Filter identity providers and user stores by invitable member access levels when fetching options for the invitations list.

Why

When creating invitations, only identity providers and user stores that allow member access (limited or full) should be available for selection. This prevents users from seeing connection options that don't support member invitations.

What

  • Add INVITABLE_MEMBER_ACCESS_LEVELS constant for 'limited' and 'full' access levels
  • Filter identity providers list by member_access_level parameter
  • Filter user stores list by member_access_level parameter in addition to existing is_enabled filter
  • Update tests to verify the filtering parameters are passed correctly

Packages

  • packages/core
  • packages/react
  • examples

References

Testing

  • This change adds unit test coverage
  • Tested for both SPA and RWA flows, all example apps working
  • All existing and new tests complete without errors

Checklist

  • Breaking change
  • Requires docs update
  • Backward compatible

Contributing

Summary by CodeRabbit

  • Bug Fixes
    • Member invitation workflows now display only identity providers and enabled user stores that support permitted member access levels.
    • Prevents unsupported connections from appearing as invitation options.

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 721def67-a01c-44bb-abe0-4e022ad66b31

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: filtering invitation-list results by member access level.

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Base automatically changed from fix/broken-sdk-types to feat/my-org-ea-branch August 6, 2026 18:45
@rax7389
rax7389 merged commit 1842b9b into feat/my-org-ea-branch Aug 8, 2026
2 checks passed
@rax7389
rax7389 deleted the feat/member-access-filter branch August 8, 2026 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants