added can write control in delete and post (file upload)
added can_write test
merge of share test