User permission2

Add user permissions. Folders and docs now have an owner_id. If the current user is not the owner of a folder/doc, when clicking on the folder/doc the user will be redirected to a user denied view. A user can see his profile which includes the folders and files he is the owner of.