Added upload and insert permission methods.