[TYPO3-core] RFC #8715: Bug: non-Admins can not import pages from their own directory

Martin Kutschker masi-no at spam-typo3.org
Fri Aug 29 21:50:39 CEST 2008


Johannes Pieper schrieb:
> Hi,
> 
> "Dmitry Dulepov [typo3]" <dmitry at typo3.org> wrote:
>> Johannes Pieper wrote:
>>> Problem:
>>> A reporter (non admin) can't import pages, because the own directory,
>>> where he can write files are not listing in the importfield
>>>
>>> Solution:
>>> Set Path to search for Import-Files to the "userSaveFolder", where user
>>> can save their export files.
>> Doesn't that mean people cannot import from fileadmin/ any more?
> 
> In the most case a reporter hasn't access to fileadmin/. With the old patch he can import data only from a place he could read and write.
> 
> I have a new one, so that importfiles from the userSaveFolder merged to the importfiles in fileadmin/

Why do you strstr()? Isn't it possible to have user dirs outside of
fileadmin? BTW, you can use another folder instead of fileadmin. There
is a $TYPO3_CONF_VAR setting for this (I know the bug is in the existing
code).

But the merging looks good.

Masi


More information about the TYPO3-team-core mailing list