Skip to content

Document how to add a custom dynamic claim - #26289

Merged
EngincanV merged 1 commit into
rel-10.7from
maliming/dynamic-claims-custom-docs
Oct 15, 2026
Merged

EngincanV merged 1 commit into
rel-10.7from
maliming/dynamic-claims-custom-docs

Conversation

@maliming

@maliming maliming commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

https://abp.io/support/questions/10918

Add an Adding a Custom Dynamic Claim section to dynamic-claims.md: produce the claim with IAbpClaimsPrincipalContributor and add its type to AbpClaimsPrincipalFactoryOptions.DynamicClaims, so it reaches the shared cache and the UI application.

Also fix current-user.md, which pointed to IAbpDynamicClaimsPrincipalContributor for this case.

Copilot AI balanced review requested due to automatic review settings October 15, 2026 00:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The documentation matches the claims and cache implementations, with no unresolved findings.

0 open findings

What changed in this PR

Clarifies how custom claims enter ABP’s dynamic claims cache and reach tiered UI applications.

Changes:

  • Adds contributor and configuration examples.
  • Explains module placement and tenant-aware cache invalidation.
  • Corrects current-user guidance and links to the new section.
File Description
docs/​en/​framework/​infrastructure/​current-user.md Corrects guidance for refreshing custom claims.
docs/​en/​framework/​fundamentals/​dynamic-claims.md Documents custom dynamic claims and cache management.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@maliming
maliming requested a review from EngincanV October 15, 2026 00:48
@maliming maliming added this to the 10.7-final milestone Oct 15, 2026
@EngincanV
EngincanV merged commit bf04ca7 into rel-10.7 Oct 15, 2026
3 checks passed
@EngincanV
EngincanV deleted the maliming/dynamic-claims-custom-docs branch October 15, 2026 06:51
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.

3 participants