Allow authenticated users to upload files

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
2/21/2011 12:49:29 PM
Gravatar
Total Posts 22

Allow authenticated users to upload files

Hi,

We're currently using Mojoportal for a website. In a specific section of the site, accessible only to a restricted group of users, we would like to allow them to share pdf files among themselves. Ideally, we would provide them with a form where they can upload a file that would then be automatically made available on the page to other users.

I'm pretty sure there's no quick way for me to add this functionality in Mojo, but what would be the easiest way to achieve this, according to you?

 

2/21/2011 1:26:46 PM
Gravatar
Total Posts 18439

Re: Allow authenticated users to upload files

If you trust each of the users to be able to upload download and delete files without stepping on each other, you could put an instance of our Shared Files feature on the page and give their role edit permissions. Users with edit permissions can upload or delete files and users with view permissions can download files but the files are not per user, any user with edit permissions can edit any file if they have edit permissions on the page or instance.

The files in Shared Files are protected from other users not in the roles, they cannot be downloaded without being in an allowed view role.

http://www.mojoportal.com/sharedfilesmodule.aspx

Hope it helps,

Joe

3/3/2011 8:52:59 AM
Gravatar
Total Posts 22

Re: Allow authenticated users to upload files

Thanks Joe, that'll do the job.

If I want to modify the appearance of the Shared files module, for example I don't want the user to be able to create a folder or I want to assign a class to a specific button, do I have to clone the feature or can I do it in a simpler way? I read the documentation about cloning features, but it might be a little complicated for me as I am not very familiar with .net programming.

You must sign in to post in the forums. This thread is closed to new posts.