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
12 stars 5 forks source link

Refresh rules text after saving #727

Closed dorschs57 closed 1 year ago

dorschs57 commented 1 year ago

This fixes an issue where the user adds something like a trailing white space to the rules, which the rust parser strips. Previously the UI was not being refreshed with the newly stripped text, so what was showing in the UI was out of sync with what was actually saved in the System object.

To Test this:

  1. Edit the rules text by adding a single trailing space
  2. Save the rules
  3. Check in the editor and the trailing white space should be gone

Closes #725

jw3 commented 1 year ago

The RPM build broke due to #728, I patched the wiki and rebuilding.