I ultimately want to grant users edit permission only on the items they created.
According to this article:
http://www.hersheytech.com/Blog/SharePoint/tabid/197/entryid/28/Default.aspx
I can do that by assigning ReadSecurity and WriteSecurity certain values. It works - the problem is, my document library has sub folders - and they are all hidden when assigning the relevant values (2) for both fields.
This then pushes me in the direction of breaking role inheritance and assigning permissions to each specific document on upload. Although this is achievable since I'm using a custom document upload control, I preferably want to avoid it as I appreciate it will, or at least can, have repercussions with regards to performance and potentially unnecessary complexities of the way the whole permissions is structured.
My question - is there a way around the problem I mentioned with the first approach? Or should I just opt for the 2nd? Bearing in mind there will be many documents uploaded to this system, all of which will be searched.