[TYPO3-dev] How to check if BE user is allowed to create records on page X

Jigal van Hemert jigal at xs4all.nl
Mon Jan 25 11:29:18 CET 2010


Georg Ringer wrote:
> got a small question: How can I check if a BE user is allowed to create
> records on a page X?
> 
> I know the function $GLOBALS['BE_USER']->check('tables_modify', $uid))
> to check if the user is allowed to add a record in general but I have no
> clue how to check the DB mount of a user.

$GLOBALS['BE_USER']->doesUserHaveAccess($row, $perms) maybe [1] ?
(in t3lib_userAuthGroup)

[1] 
http://www.typo3-unleashed.net/typo3apidocs/latest/de/d3f/classt3lib__userAuthGroup.html#a50682676c8395be6b29853968043e642


Regards, Jigal.




More information about the TYPO3-dev mailing list