Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

fix/graphql/database: make count of failed user permissions syncs ignore soft deleted users#63297

Merged
ggilmore merged 1 commit into
mainfrom
06-14-fix_graphql_database_make_count_of_failed_user_permissions_syncs_ignore_soft_deleted_users
Jun 17, 2024
Merged

fix/graphql/database: make count of failed user permissions syncs ignore soft deleted users#63297
ggilmore merged 1 commit into
mainfrom
06-14-fix_graphql_database_make_count_of_failed_user_permissions_syncs_ignore_soft_deleted_users

Conversation

@ggilmore

@ggilmore ggilmore commented Jun 17, 2024

Copy link
Copy Markdown
Contributor

This PR changes the query that powers the "failed user sync count" on the permissions center to now properly ignore soft-deleted users. The admin can't take any action to remedy this, so there is no point in displaying it.

Screenshot 2024-06-17 at 12.52.08 PM.png

Test plan

Unit tests

Changelog

  • The failed user permission sync count on the permission dashboard now properly ignores syncs from deleted users (which is the expected behavior).

@cla-bot cla-bot Bot added the cla-signed label Jun 17, 2024
@github-actions github-actions Bot added team/product-platform team/source Tickets under the purview of Source - the one Source to graph it all labels Jun 17, 2024
Comment thread internal/database/permission_sync_jobs_test.go Outdated
@graphite-app

graphite-app Bot commented Jun 17, 2024

Copy link
Copy Markdown

TV gif. Timmy from Shaun the Sheep blinks and extends 2 thumbs up as a lopsided grin emerges on the side of his face. (Added via Giphy)

@ggilmore ggilmore force-pushed the 06-14-fix_graphql_database_make_count_of_failed_user_permissions_syncs_ignore_soft_deleted_users branch from fe5c54d to 0a4ff76 Compare June 17, 2024 20:19
@ggilmore ggilmore merged commit 1f388d9 into main Jun 17, 2024
@ggilmore ggilmore deleted the 06-14-fix_graphql_database_make_count_of_failed_user_permissions_syncs_ignore_soft_deleted_users branch June 17, 2024 20:27

Copy link
Copy Markdown
Contributor Author

Merge activity

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed team/product-platform team/source Tickets under the purview of Source - the one Source to graph it all

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants