Add the dbus privilege check logic for platform APIs