I'm using Image-Assist with TinyMCE and would like to remove the All-Images option from the pop up window, so that users can only select their own images. Is there a switch for this somewhere?
I found this in the Image-Assist module...
$images_link = $image_add . l(t('my images'), $dir, null, "user=$user->uid"). ' | '. l(t('all images'), $dir);
...which creates the menu.
What I would like to do is drop the 'all images' option if the user is not the member of a particular group i.e. they are not administrators.
Comments
Comment #1
Anonymous (not verified) commentedI would also like to see this option.
Thanks
Comment #2
benshell commentedI am the new maintainer for img_assist, but I am only supporting img_assist 4.7+. However, this feature is in img_assist for Drupal 4.7.
Comment #3
(not verified) commented