You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#115848 Filesystem directory filter not working

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by da.andres on Thursday, 18 January 2024 15:15 GMT

da.andres
Hello,

I'm using the latest JCE Pro Editor extension.

I have one profile for all users (managers, administrator and even the super user).
I want to use the JCE Filesystem to restrict the users to upload to specific folders and none others.

This is our filesystem:
images/news --> allowed
images/static_a --> allowed
images/static_b --> allowed
images/restricted_static_a --> not allowed
images/restricted_static_B --> not allowed
images/ --> files not allowed, only subfolders defined allowed


As I have understood the directory filter, the folders with "not allowed" should be hidden and not allowed to read and write. However, the folders are visible and writable.

How can I achieve the use case above?

Thank you for help




Ryan
Are you using JCE Pro 2.9.60? - https://www.joomlacontenteditor.net/downloads/editor/pro/latest

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

da.andres
I have upgraded to 2.9.59 recently and was not aware of .60. But with .60 the specified folders are hidden. Thanks.

However, How can I restrict in the root folder (file directory path) the creation of files and of subfolders? I want my users to use the predefined folders and upload or create subfolders there and not at the first level.

Thanks.

Ryan
However, How can I restrict in the root folder (file directory path) the creation of files and of subfolders? I want my users to use the predefined folders and upload or create subfolders there and not at the first level.


You can't restrict actions (create folder, upload etc.) by folder path, only globally for a specific plugin - Image Manager, File Manager etc.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

da.andres
ok thanks.