Here's a patch implementing the TODO item "Add a separate TRUNCATEpermission". Hopefully I found all the bits that needed to bemodified to make this work.
Any feedback appreciated.
Thanks,
...Robert