[#356] Update UserProfileController.permissions for the new repo path structure
This should have been done as part of 64e62c6, but I missed it. Also made the function a little more robust with respect to filesystems.
Authored by: Wolf 2010-05-07
Parent(s): [a01f59]
Child(ren): [4e11fc]