obj.invokeFactory() throws Unauthorized Exception while testing using unittest class. What's the solution to authorize?
Hi,
We need more information to help you. Please read https://docs.plone.org/askforhelp.html#asking-for-help-in-online-chat on what we need, thanks!
-Roel
make sure to login and use setRoles to grant the logged in users the necessary permissions. ('Manager' to be really sure)
see https://docs.plone.org/external/plone.app.testing/docs/source/README.html#permissions-and-roles
Thanks for reply, but the issue is already solved by same mechanism
https://github.com/Shriyanshagro/plone.importexport/commit/bd0d0a20b3889009a4214d413cef23667d4e6604
as you are suggesting.