Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS

Image Upload not working with security group


Go to End
Reply

33 Posts   7485 Views

Avatar
Roweena

13 May 2009 at 11:54pm Community Member, 28 Posts

I've set up a security group with access to files and images (asset admin), access to site content and access to all CMS interfaces but when logged in this security group is not able to upload images via the Files & Images Upload tab, I just get an error "File is not a valid upload".
This group can upload if I change it's permissions to full administrative rights, which obviously I don't want to do.
I've seen other posts on the forum relevant to earlier versions of ss, I'm using 2.3.1 and the fixes don't apply/work.

Avatar
DoofusDog

21 May 2009 at 11:42am Community Member, 9 Posts

I am having the same issue and not finding anything to work. Has anyone found a fix for this?

Avatar
derralf

11 August 2009 at 12:44am Community Member, 24 Posts

i'm having the same problem (SS 2.3.3).
(How) did you solve it?

Avatar
DoofusDog

11 August 2009 at 1:59am Community Member, 9 Posts

We never have... just ended up giving the client full access to the admin. I don't know what we would do in a multiple user scenario. This is a big bug in my opinion and am disappointed that the newest version didn't correct this.

Avatar
Harley

24 November 2009 at 12:19pm Community Member, 153 Posts

Hi,

Did you guys ever find your answer to this? If not then this may help http://ssorg.bigbird.silverstripe.com/all-other-modules/show/271768#post271768

Avatar
lets_be_loopy

26 November 2009 at 12:35am Community Member, 3 Posts

I have the same problem (v. 2.3.1).

The developer working with me found that commenting the Validate function in the sapphire/filesystem/upload.php file did the trick, but we can't remove this security function !!!
(Info : this function checks if the file was sent via http)

The question is : why does the permission interfere with this function ?

Avatar
dendeffe

19 December 2009 at 6:30am Community Member, 135 Posts

Having the same problem.

Unless the user doesn't have Full Admin right, when I try to upload something, I get the 'file is not a valid upload' error. Afterwards, the screen is messed up (see screenshot) it seems that all tabs are displayed at once. The strange thing is that it remains that way, even if I log in with another user that has Full Admin Rights. Closing and reopening the browser fixes the display problem.

I don't have this problem with the site on my local server.
The online server does have safe_mode enabled.

Attached Files
Avatar
RonnieH

22 December 2009 at 4:43am Community Member, 14 Posts

The exact same problem bugs me, I have had to resort to giving all content editors full admin-rights... hope they don't break anything. :-(

Go to Top