[TYPO3-core] RFC: Feature #13164: CLI processes cannot be executed when adminOnly mode is enabled

Steffen Kamper info at sk-typo3.de
Wed Jan 13 16:30:38 CET 2010


Hi,

Dmitry Dulepov schrieb:
> Hi!
> 
> On 2010-01-13 16:56:39 +0200, Oliver Hader said:
>> Solution:
>> Add a new state for the adminOnly configuration that allows CLI
>> processes to bypass the adminOnly check. Thus, there are the following
>> settings for adminOnly:
>> -1: Lock backend and install tool
>> 0: Default - No lock at all
>> 1: Only admin users can log into the backend
>> 2: Only admin users can log into the backend, but CLI processes using
>> regular backend users are allowed
> 
> Or we can just allow cli users always. For example:
> 
<snip>
> This is not tested, just an idea. I am not sure what I like more: just 
> allowing _cli_ users or adding a set of states. Just allowing can be 
> easier.
> 

i had the same thought. I would prefer passthrough for cli too, as i 
don't see the need for extra conf system here.

btw - isn't it more safe to check TYPO3_cliMode instead the username?

vg Steffen


More information about the TYPO3-team-core mailing list