role-based image directory restrictions

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.
9/25/2009 7:21:04 AM
Gravatar
Total Posts 51

role-based image directory restrictions

I feel like this question was in the documentation section somewhere, but I haven't been able to locate it... What I'd like to do is target a single image folder based on the user role when they upload images for the HTML content editor (ie everyone in the Content Author role only has access to the images directory, and can't upload to the root.) 

Is there a setting for this in web.config?  or is it located elsewhere?  Thanks -

Kevin

9/25/2009 7:33:12 AM
Gravatar
Total Posts 18439

Re: role-based image directory restrictions

Hi Kevin,

In the latest version this is managed from Site Settings > Security > Permissions.

Admins can upload anywhere starting from /Data/Sites/[SiteID]/

but users added in roles configured for Roles that can upload and browse can only upload starting at /Data/Sites/[SiteID]/media/

this folder will be created if it does not exist the first time a user in those roles tries to browse the server.

There is also a more restrictive one, Roles that can browse and upload but only in a user specific location.

users in those roles can browse and upload starting at /Data/Sites/[SiteID]/userfiles/[UserID]/

again the folder will be created on demand when a user in these roles tries to browse.

Users can create folders beneath these starting points to organize files.

Hope it helps,

Joe

2/7/2010 12:18:30 PM
Gravatar
Total Posts 171
I am a Russian programmer

Re: role-based image directory restrictions

but users added in roles configured for Roles that can upload and browse can only upload starting at /Data/Sites/[SiteID]/media/

this folder will be created if it does not exist the first time a user in those roles tries to browse the server.

No. This folder is not created automatically. It must create an administrator

Best regards, Alexander
 

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