Is there some way gnome-software can inform the plugin that it is performing a non-interactive operation?
If so, then the plugin could use snapd_client_set_allow_interaction() to suppress any potential pokit dialogs from the operation. It wouldn't allow the operation to succeed, but it also wouldn't leave the user with an authentication dialog open when they unlock their screen.
Is there some way gnome-software can inform the plugin that it is performing a non-interactive operation?
If so, then the plugin could use snapd_client_ set_allow_ interaction( ) to suppress any potential pokit dialogs from the operation. It wouldn't allow the operation to succeed, but it also wouldn't leave the user with an authentication dialog open when they unlock their screen.