Share » Forums » Developer » Permissions within scripts under...

Permissions within scripts under /bin/php and cronjobs...

Permissions within scripts under /bin/php and cronjobs...

Tuesday 12 September 2006 3:57:31 am - 2 replies

Author Message

Claudia Kosny

Tuesday 12 September 2006 4:15:04 am

Hello Norman

You might try to log in as a user who has the correct permissions with

eZUser::loginUser( $login, $password );

(I have never tried this, just found it earlier on in another post)

Alternatively you could also provide the parameter limitation with an empty array as value - then you should get all nodes no matter what the access rights are.

Greetings from Luxembourg

Claudia

Norman Leutner

Tuesday 12 September 2006 4:57:18 am

Thanks for you hint Claudia,

the function works fine...

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu