Closed jw3 closed 11 months ago
@jw3 are the rust bindings in place for this? I found the config_file_path()
in pyo3/config/config.rs
but that looks like the wrong config path for this issue
The rust bindings are not in place yet, but for now you can just mock up something that provides the full config text (like the rule text).
This is going to be a text based UI that is very similar to the rules text editor. You could start looking at how SourceView is integrated into the Rules and start adding an editor view like that for config.
There will be the same view at the bottom to show parse error/warnings, like rules.
Don't worry about the source highlighting for now.
The menu item for this will be under Daemon
.
Text editor similar to rules for editing and validating fapolicyd configuration.