Skip to content

Feature/net10 uplift versioning - #8

Merged
fabricioruch merged 2 commits into
mainfrom
feature/net10-uplift-versioning
Aug 4, 2026
Merged

Feature/net10 uplift versioning#8
fabricioruch merged 2 commits into
mainfrom
feature/net10-uplift-versioning

Conversation

@fabricioruch

Copy link
Copy Markdown
Collaborator

Summary

  • Fix: lokale Bearer-JWTs mappten roles auf ClaimTypes.Role — Rollen wurden nicht gefunden (IsInAtLeastOneRole leer).
  • MapInboundClaims = false, damit Claim-Namen wie bei Easy Auth kurz bleiben (oid, roles, …).
  • Fallback auf ClaimTypes.Role; UPN zusätzlich über unique_name / email.
  • Package-Version 10.0.2.

Test plan

  • Mit FUNCTIONS_UTILS_LOCAL_DEVELOPMENT=true und gültigem Bearer-Token: GET massMail/@me als User mit App-Role admin liefert alle Headers (nicht leer gefiltert auf oid)
  • Ohne Admin-Role: weiterhin nur eigene / shared MassMails
  • Ohne Flag / ungültiges Token: weiterhin 401
  • Nach Merge: CI published WebGate.Azure.FunctionsUtils 10.0.2 auf nuget.org

Fabricio Ruch and others added 2 commits August 4, 2026 10:10
Disable inbound claim remapping so roles/oid stay short names like Easy Auth, and accept ClaimTypes.Role as fallback.

Co-authored-by: Cursor <cursoragent@cursor.com>
@fabricioruch
fabricioruch merged commit c2b32ff into main Aug 4, 2026
1 check passed
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.

1 participant