The fs-contents-portlet and the fs-portlet (when scoped_p is true) use a file-storage package's template to display folder contents. This template checks for permissions and decorates the display with appropriate buttons for adding files, folders, etc so there's no need for our portlet to add hyperlinks. Nor to do the permission checking used to determine which ones to put in the portlet. Unfortunately, for the unscoped case, i.e. the user's file storage page, the portlet puts out its own page and does so using a different style than file-storage itself. Which needs fixing, but not right now.