Show only user specific folders only in image/file manager

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
genestevo
Forum Members
Forum Members
Posts: 72
Joined: Thu Jan 26, 2012 11:50 am

Show only user specific folders only in image/file manager

Post by genestevo »

Hi Guys,
Thanks to advice from Dr CSS I know how to limit access of individual editors to specific pages.
Now I need the same sort of thing for folders accessed via image/file manager.
I've been reading about something called .htaccess files as a way to keep users out of other users folders but it doesn't seem like a very elegant way to do things as the folders of other users will still be "on show" whenever anybody hits the green tree icon in the WYSIWYG editor, or accesses the uploads folder via file manager.
Thanks in advance guys,
Eugene.

Don't know if it makes a difference: Top simple nav' + left sub'nav + 1 column.
jdavidh
New Member
New Member
Posts: 3
Joined: Sat May 02, 2009 3:18 am

Re: Show only user specific folders only in image/file manag

Post 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
Post Reply

Return to “CMSMS Core”