Keep having to ask myself, what the hades am I missing here ?!?!? Ok, so such text editor process only gets to be root in the mere miliseconds as it saves any file ? Ok assuming it doesn't have a corrupt policy file, a malicious one and has one which clearly and correctly restricts it to this flash of time in which it can still save ANY file on the OS. Scratches head ... hmmmm, still not really seeing what the friggin big difference is !!! I open leafpad, yep, it's got a magic and correct policy file for it, pop open /etc/fstab, select all, backspace ... and everything deletes, save the sucker or it's one which could even autosave periodically, end result, empty fstab. Eventually reboot ... OS informs me, ummmm, you don't have anything in your fstab file fella, we's got a problem here.^ That will open a copy of the file in gedit as your normal user and only invoke root (via gvfs) to save the file.
Graphical file-manager, can open/edit anything with priv's butttttttt I have a policy file which makes sure I can only open/edit anything with priv's. Presumably when I make changes to xyz, up pops the keyring to ask for passwd confirmation, as clearly stated in the policy file ? AHHHHHH !!!
I say again ... this is somehow progress ??!?!?!?! Just my 2 cents, will take my chances sticking with gksu or lxqt-sudo and polkit can grab up all the policy files it pleases and stick them up it's <censored>. Tyvm.