-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12-05-01 01:29 PM, curtis Hovey wrote: > When I wrote jobs in the past, the job ran as a celebrity, such as > the janitor, which is given permission to complete the task for the > user. I think some security checkers continue to use celebrities > for translations and registry process. I do not know if celery is > running as the proxy celebrity or as the user that initiated the > change.
Most launchpad scripts actually ignore user-based security entirely. They initialize with scripts.execute_zcml_for_scripts(use_web_security=False) The Celery job runner does the same. It does not explicitly set a current user. (It does set the current dbuser, which varies by job type.) Aaron -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+gM2oACgkQ0F+nu1YWqI3dggCghEd7VUF85Ynk5kfI5HQmg5hY /3gAn2WOnOHefBvffQDO+GflvcovwHDk =oTfK -----END PGP SIGNATURE----- _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp