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

Auth once #75

Closed jack-ullery closed 9 months ago

jack-ullery commented 9 months ago

This fixes #71 by merging #70 with new code which will allow re-authentication when desired.

Now, when a user dismisses a pkexec prompt, ConsoleThread will ignore future REFRESH messages. When in this state, AppAnvil will hide the TreeView for each tab, instead showing a message explaining the situation. If the user wants to re-authenticate, they can press the button labeled: "Retry Authentication".

Cancelling authentication will not completely disable all functionality of the application. For example, the "Load Profiles" functionality is unaffected. Also, logs may still be load in some circumstances.

Here is an example screenshot of the new functionality: image

jack-ullery commented 9 months ago

I should probably workshop the generated message for each tab, but this should be good enough for now