feat(catalog-backend-module-msgraph): filter out disabled users by default (#34165)
* feat(catalog-backend-module-msgraph): filter out disabled users by default The Microsoft Graph provider now always applies an `accountEnabled eq true` base filter when fetching users. Any custom `user.filter` is combined with the base filter using `and`, so adopters no longer need to manually add `accountEnabled eq true` to their configuration. Also removes the legacy mutual exclusivity check between `userFilter` and `userGroupMemberFilter` — these serve orthogonal purposes (user-level filtering vs group selection) and the downstream code already handles both being set. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com> * chore: mark msgraph disabled-user filtering as breaking change Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com> * docs(catalog-backend-module-msgraph): clarify automatic accountEnabled filter in docs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com> --------- Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-backend-module-msgraph': minor
|
||||
'@backstage/plugin-catalog-backend-module-msgraph-incremental': minor
|
||||
---
|
||||
|
||||
**BREAKING**: Disabled user accounts are now filtered out by default. The provider automatically applies an `accountEnabled eq true` filter, combining it with any custom `user.filter` you provide. If you previously included `accountEnabled eq true` in your user filter, it is safe to remove it, but leaving it in will not cause any issues.
|
||||
Reference in New Issue
Block a user