How can we allow user to only append but not edit a field

suppose in my custom app only paricular user have the permission to create,appened,read,submit . But not allowed to delete the entire document or part of the document.How is it possible

Read through the “Role Based Permissions” section in the manual here

https://erpnext.org/docs/user/manual/en/setting-up/users-and-permissions