[Erp5-dev] Unauthorized on document ingestion
Mikolaj Antoszkiewicz
mikolaj at erp5.pl
Tue Jun 3 09:43:48 CEST 2008
Yusei TAHARA wrote:
> HI,
>
> On Mon, 02 Jun 2008 14:35:46 +0200
> Mikolaj Antoszkiewicz <mikolaj at erp5.pl> wrote:
>
>> Hello,
>>
>> I've been trying to contribute a document through
>> (Entity_viewContributeFile form) Entity_contributeContent script.
>> During processsing I get an anauthorized exception in
>> 'processing_status_workflow' on here.hasData()
>> It looks like security is unset yet, and user doesn't have any
>> permissions to check for that Data. Giving Entity_contributeContent
>> proxy role works, but I'm sure there might be a better way...
>>
>> My question is what could be the other way? Is this a known issue?
>>
>
> Hmm, I don't get this problem. Which script calls hasData method?
- It's not a script, but an Expression on a Transition of
processing_status_workflow.
>
> And do you use a erp5 user account which correspond to a person document?
>
- Yes, it's a 'Person' user, NOT a 'zope' type from the root acl_users
folder. By the way, with user with Manager role (e.g. standard 'zope'
user) everything works fine.
Mikolaj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3229 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20080603/fe446bed/attachment.bin>
More information about the Erp5-dev
mailing list