Thursday 16 September 2004 9:38:59 am
I was wondering... What is the best way to let a script run with all permissions(Rights and Roles disabled)? Currenlty I bypassed this issue by always logging in as user "admin":
// login as admin
include_once( 'kernel/classes/datatypes/ezuser/ezuser.php' );
$user = eZUser::fetchByName('admin');
$user->loginCurrent();
Is there maybe a better way to disable permissions when running an eZScrpit instance from CLI? Thanks and advance
Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/
|