Skip to content

GitHub Issue 465: Add auditing capabilities for grid views#2887

Open
XingY wants to merge 2 commits intodevelopfrom
fb_customViewAudit
Open

GitHub Issue 465: Add auditing capabilities for grid views#2887
XingY wants to merge 2 commits intodevelopfrom
fb_customViewAudit

Conversation

@XingY
Copy link
Contributor

@XingY XingY commented Feb 16, 2026

Comment on lines +229 to +230
checker().verifyTrue("Expected at least 1 audit event for shared default view save.",
!defaultViewAuditRows.isEmpty());
Copy link
Contributor

Choose a reason for hiding this comment

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

is there ever a valid case where there would be more than 1 audit event row? if not, could this just be changed to an assert that the list length is 1?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've added comment that explains why there could be 1 or 2 events. If the current default view for this user is "private", saving a "shared" default view will actually be 2 events. One for creating the shared, one for deleting the old private view.

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