ctc-oss / fapolicy-analyzer

Tools to assist with the configuration and management of fapolicyd.
https://ctc-oss.github.io/fapolicy-analyzer
GNU General Public License v3.0
11 stars 5 forks source link

Text editing state out of sync after deploy #934

Closed jw3 closed 9 months ago

jw3 commented 9 months ago
  1. Change rules, save, deploy
  2. Attempt to navigate to trust
  3. Observe unsaved changes prompt

@tparchambault reported this with Config editor also

https://github.com/ctc-oss/fapolicy-analyzer/discussions/916#discussioncomment-7426817

jw3 commented 9 months ago

The self._unsaved_changes flag was added to the text editor pages in #921. It looks like those are not reset after a deploy (ie on_next_system)