added server side check for deleting pipeline authorization