[TYPO3-dev] allow be_users in all sysfolders

franz ripfel typo3 at abezet.de
Thu Nov 16 09:30:08 CET 2006


Hi Folks,

A customer stated, that it would be very nice if Backend Users could be  
saved in all sysfolders (like fe_users for example).
This is due to huge page trees and quite a lot Backend Users, which should  
be separated for several reasons.

I had a look into the code and found some hardcoded nogoes.
db_news.php:isTableAllowedForThisPage()
	// be_users and be_groups may not be created anywhere but in the root.
if ($checkTable=='be_users' || $checkTable=='be_groups')	{
	return false;
}

Also the login process required the pid to be 0.
So far i did not check if there are some more hardcoded nogoes.

For now i would create an extension to XCLASS for  
isTableAllowedForThisPage() and add a login service.
One need to change the TCA rootLevel Flag for be_users of course.

However:
If some more of you had good use for Backend Users in sysFolders, i would  
be willing to create a pach for the core to add a $TYPO3_CONF_VARS Flag  
(and maybe another one for be_groups) to allow this behaviour generally.

What do you think?

greets
Franz

-- 
Franz Ripfel, A.BE.ZET
http://www.abezet.de




More information about the TYPO3-dev mailing list