jack-ullery / AppAnvil

Graphical user interface for the AppArmor security module (in-progress)
GNU General Public License v3.0
14 stars 12 forks source link

dropdown menu functionality + parser improvements #3

Closed Pavl-o closed 2 years ago

Pavl-o commented 2 years ago

Added 3 selection options to the dropdown menu (Enforce, Complain, Disable) which issue 'aa-enforce', 'aa-complain', and 'aa-disable' commands respectfully.

Added the ability to filter out paths with specified flags in the parser. More specifically, the transition-to-subprofile flags which were causing duplicate paths to be returned.

Note: we're still using the old way of simply just issuing console commands which seems to break for certain profiles including ones with 'snap', double slashes, and, more recently, Discord for some reason.

jack-ullery commented 2 years ago

Good stuff. I'm reviewing and merging the changes now. In addition to the things you pointed out, I have found a couple minor issues: