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.

#100644 Can I set folder access based on user group?

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 blocka on Monday, 29 July 2019 19:42 BST

blocka
I see in JCE Editor I restrict the File Directory Path based on some variables like userid, user type, profile -- what I'd like to do is restrict based on Joomla user group. We have teams who manage content, and anyone on the team should have access to the team image folder via JCE, but we want to restrict them from all other folders.

Is there a way to accomplish this?

Ryan
Yes, use the $usergroup variable, eg: images/$usergroup

FYI - $usertype is the same as $usergroup

Ryan Demmer

Lead Developer / CEO / CTO

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

blocka
Awesome! Thanks for that.