I have CMSMS 1.5.1 and ImageUpload 0.1.2.
Admin users can upload images okay, but Editors don't the Browse buttons or text fields in the Image Upload area.
Attached screenshot shows difference between admin and Editor users.
Is this a known issue? Is there a fix or workaround? (I'd rather not promote all the users to admin).
[solved] ImageUpload does not work for non-admin user
[solved] ImageUpload does not work for non-admin user
Last edited by daymobrew on Tue Jan 13, 2009 2:20 pm, edited 1 time in total.
[solved] ImageUpload does not work for non-admin user
I have implemented a workaround - in group permissions I gave Editors "Modify Site Preferences" permission.
Far from ideal but the module requires that or "Modify Files" permissions.
"Modify Files" was already enabled and should have triggered the code (it is an OR check).
Far from ideal but the module requires that or "Modify Files" permissions.
"Modify Files" was already enabled and should have triggered the code (it is an OR check).
Code: Select all
function VisibleToAdminUser() {
return $this->CheckPermission('Modify Site Preferences') || $this->CheckPermission('Modify Files');
}
-
- Forum Members
- Posts: 47
- Joined: Thu Nov 09, 2006 7:33 pm
Re: [solved] ImageUpload does not work for non-admin user
You can change this to Modify Files if you would prefer and it works. I did that because I didn't want them having access to the calendar
Re: [solved] ImageUpload does not work for non-admin user
Does not work... I've added a permission rule in the db, and modified the imageupload.module.php to this... Alas...new2thiscms wrote: You can change this to Modify Files if you would prefer and it works. I did that because I didn't want them having access to the calendar