[TYPO3-dev] Disabling a subtype of the TYPO3 service

kestutis kestutis1a at gmail.com
Fri Feb 3 10:16:29 CET 2012


Hello,

Is it possible to disable a subtype of the service?

I have created a new service with authUserBE subtype and 
Priority:51,Quality:51,
but still tx_sv_auth authUserBE exists with Priority:50,Quality:50, 
which runs if my custom service fails.

I tried to erase 'getUserBE' subtype of 'tx_sv_auth' by putting
these lines to ext_localconf.php of my custom extension:

$GLOBALS['T3_SERVICES']['auth']['tx_sv_auth']['serviceSubTypes']['getUserBE']= 
'';
and
$GLOBALS['T3_SERVICES']['auth']['tx_sv_auth']['subtype'] =
'authUserBE,getUserFE,authUserFE,getGroupsFE';

But after looking to Admin tools->Reports I see whole 'tx_sv_auth'
service disabled.
And comma ahead before all subtypes in Subtypes column: ', authUserBE,
getUserFE, authUserFE, getGroupsFE'

Am I doing something wrong or it is not possible to disable subtypes of 
the service without disabling a service itself?

Thank you in advance,
Kast



More information about the TYPO3-dev mailing list