Permission on File List

We have multiple companies on erpnext. When I am uploading files in erpnext it is showing to the users of all companies. How to set permissions so that users can see the files of their company only in file list.

Hi, the file doctype does not have a company field, so it can’t be set. You can set it so that only the user who created it can see it.

add company field in file doctype

Hey Manish,

If the permission is not set after adding the field, and you store the attachment in any doctype, you have to set the company of that doctype in the file manager. Can you explain how to set it up? It seems a bit tricky, so I’d appreciate some guidance. If it was straightforward, I would have suggested a solution myself.