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

Rule text update after save #725

Closed jw3 closed 1 year ago

jw3 commented 1 year ago

The rule backend performs some formatting operations which should be reflected in the UI after saving.

  1. Save a single rule allow perm=open all : all
  2. Observe that the asterisk was removed on save
  3. Edit the rule by adding some whitespace at the end allow perm=open all : all
  4. Save
  5. Observe that the asterisk is not removed on save
  6. Deploy, observe that the warning of unsaved changes is displayed