Roles - upload but only to a specific folder

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.
7/29/2011 9:52:02 AM
Gravatar
Total Posts 19

Roles - upload but only to a specific folder

Hi,

im having an issue with the roles. I have created a user under the content administrator role, and allowed this role "Roles that can browse and upload but only to a specific folder".

Logging in as this newly created role, and selecting file manage, i am still able to browse all the files and folders from /Data/Sites/2. It doesnt seem to have limited my access.

Any advice would be appreciated

Regards

 

7/29/2011 12:03:47 PM
Gravatar
Total Posts 18439

Re: Roles - upload but only to a specific folder

Hi,

The Content Administrators role is a special system role in mojoPortal, users in that role can already upload and edit any content in the site. It is a powerful and trusted role by design and can do almost as much as Administrators so if you want to restrict users you should not put them in that role. Instead make a custom role and use that to control the users who should only be allowed to use a user specific folder for uploads. You will need to add the custom role to the page edit roles in all the pages that you want them to be able to edit, once you do this then any newly created child pages will automatically inherit that role setting from its parent page. And you will want to add the custom role to "Roles that can create root level pages" in Site Settings.

Hope that helps,

Joe

7/29/2011 12:16:01 PM
Gravatar
Total Posts 19

Re: Roles - upload but only to a specific folder

Hi Joe,

thanks for the response.. it makes sense, however,  i completed the same set up on your demo site

(added a user to the content administrator, and only allowed them to upload to a certain directory) and this worked as i expected in that when i attempted to upload a document, i was only presented with the site gallery folder.

7/29/2011 12:33:08 PM
Gravatar
Total Posts 18439

Re: Roles - upload but only to a specific folder

Hi Simon,

The demo site is a little more locked down to protect the server since I'm letting strangers use it as admin.

There is a setting you can put in user.config

<add key="ForceAdminsToUseMediaFolder" value="true" />

it forces even admins to use the media folder but its not the same thing as a user specific folder which would be isolated to the specific user, the media folder is not a user specific folder.

Hope that helps,

Joe

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