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

Oliver Hader oliver at typo3.org
Thu Jan 14 15:30:02 CET 2010


Hi Steffen,

Am 13.01.10 16:30, schrieb Steffen Kamper:
> 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.

It does not add a new configuration system - it just modifies the
existing one (-1, 0, 1) by an additional value (2).

I was thinking about this issue some time. Allowing CLI users by default
would be the easiest solution, however it's an enormous change in
behaviour. Therefore, I introduced the new value, that requires an admin
to explicitely enable that behaviour.

Thus, by upgrading to TYPO3 4.4 it is still compatible with everything
before, but can be adjusted.

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list