FileProtocol:del() in file_unix.cpp (file ioslave) is small enough to be used as proof of concept. The goal is to move at least the unlink() call to the kauth helper, and check if everything works.
tests/kioslavetest can be used for manual testing, as Dolphin currently doesn't even allow you to attempt to delete root files.