I've wrote a JavaScript that browses trough spaces and do something with the files within it. When I execute the script in the web client, everything works fine.
When I'm running it as a scheduled job(as an admin user), it seems alfresco don't recognize the admin user, because the script only runs trough public folders.
Is this a bug?
friendly regards,
Nick