Frontend/permission statefulness fix#1577
Conversation
📝 WalkthroughWalkthroughThis PR fixes permission editing for staff users by refactoring client-side payload preparation to avoid sending unchanged false permission states, and expanding server-side serialization gates to properly include SSN read permissions in the decision to emit actions. ChangesPermission Editing Fix
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@jlkravitz This bugfix is ready for your review. |
There was a problem hiding this comment.
@jsandoval81 Can we add a regression test for this?
Requirements List
Description List
Testing List
yarn test:unit:allshould run without errors or warningsyarn serveshould run without errors or warningsyarn buildshould run without errors or warningsCloses #1576
Summary by CodeRabbit
Bug Fixes
Refactor