Page 1 of 1

[solved] Limit folder access backend user

Posted: Mon Aug 27, 2012 12:49 pm
by velden
I was wondering whether CMSMS provides a way to limit folder access to a backend-user-specific folder.

Goal is to give a certain backend user editor access to one (or more) specific pages. He should be able to upload images to be used on those pages. However, it would be nice if that user could not change/delete images uploaded by others.

I thought I once read about an option for user specific upload folders but can't find it anymore (if it exists at all).

CMSMS version currently used: 1.10.3 "Hyacinthe"

Thanks in advance.

Re: Limit folder access backend user

Posted: Tue Sep 04, 2012 8:16 am
by Jos
You can accomplish this with the Gallery module.
Check: http://wiki.cmsmadesimple.org/index.php ... ermissions

Re: Limit folder access backend user

Posted: Mon Sep 10, 2012 11:16 am
by velden
Thanks. This might be a good way as Gallery is already installed on this site.

Re: [solved] Limit folder access backend user

Posted: Fri Feb 01, 2013 12:18 am
by jdavidh
I needed the same feature and after some searching and reading found that TinyMCE will accommodate this need nicely.

1. Download/Install the TinyMCE editor via the module manager.
2. Switch your user/CMS to use TinyMCE by default.
3. Inside the settings for the TinyMCE editor, you will find two settings that you will need to enable:

Under the Profiles tab, I enabled:
Show filemanagement options and
Restrict user's dir access
by clicking their respective checkbox.

Then under the Advanced tab I checked, "Ignore the 'Modify Files' permission for FilePicker." (Because I did not want these users to be able to upload files outside of the TinyMCE editor, I did not give them Modify Files access.)

In following the steps above, the users can only upload files via TinyMCE and TinyMCE is set to only allow them access to a folder via their username. A username folder was auto-created in my experience.

Hope this helps for anyone else who needs this!

David