@shackbarth is right about always checking privs. And maybe due to our plv8's isolationist design we have to copy-paste here. If there's no framework-bound way to do this that's fine, I just wanted to make sure.