Bug 403695

Summary: Remove Flatpak source popup error after declining pass prompt needs refinement
Product: [Applications] Discover Reporter: Alexander Mentyu <notuxius>
Component: Flatpak BackendAssignee: Aleix Pol <aleixpol>
Status: CONFIRMED ---    
Severity: minor CC: bugseforuns, jgrulich, nate
Priority: NOR    
Version First Reported In: 5.14.4   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexander Mentyu 2019-01-28 15:07:48 UTC
SUMMARY
'Failed to remove the source...'  popup error is shown instead of 'You have no authorization to execute this operation' error after declining to enter password after pressing 'Delete the origin' button near Flatpak repo in 'Sources' page

STEPS TO REPRODUCE
1. Open 'Sources' page.
2. Press 'Delete the origin' button near Flatpak repo.
3. Decline pass prompt.

OBSERVED RESULT
'Failed to remove the source...'  popup error is shown.

EXPECTED RESULT
'You have no authorization to execute this operation' error is shown (same when declining pass prompt for neon repo packages).

SOFTWARE/OS VERSIONS
Operating System: KDE neon Developer Edition
KDE Plasma Version: 5.15.80
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.2
Kernel Version: 4.15.0-42-generic