This is an end-user question, no java customization problem. Is there a one step method to giving a user access to only a subfolder? If you Invite a user to the subfolder he/she will not see it, since he/she hasn't access to the parent folders. I've managed to give access to it by going into each parent folder and granting the user access to each. But that seems a bit awkward. Also many times you don't want to show, and the user is not interested in, the exact folder structure above a particular folder.
/Cheers from Björn