Closed (fixed)
Project:
IMCE
Version:
6.x-1.1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 May 2009 at 03:59 UTC
Updated:
19 May 2011 at 21:20 UTC
Is it possible to use wildcards in declaring directory permissions in a profile?
Here's what I need to do:
I only want browse access to the files root directory, but I want users to be able to write to any subdirectory. Is this possible to do without having to explicitly declare the permissions for each and every subdirectory?
Comments
Comment #1
ufku commentedWildcards are not allowed.
You may try a php snippet returning an array of subdirectories.
Two directories to specify
1- "." with browse access
2- "php: $subdirs = array();....find a way to scan subdir names....; return $subdirs;" with upload access.
Ugly but may work.
Comment #2
ufku commentedClosing 6.x-1.x issues as this branch is no more supported.