[Zope-CMF] Another Portal Poll Problem (and fix)
marc lindahl
marc@bowery.com
Wed, 18 Apr 2001 18:24:49 -0400
OK, I got the portal poll to show up. Next, I log in as a different member
of the portal, and go to it. When I voted, I got this error:
Error type: Unauthorized
Error value: User test is not allowed to access
/junk/bowery/Members/marc/testpoll/propertysheets, which is contained in
/junk/bowery/Members/marc/testpoll. The user, whose roles are ('Member',),
would need to have one of the following roles:
('Owner', 'Manager', 'Reviewer').
Innermost method: /junk/bowery/Members/marc/testpoll/processEmbeddedVotes
And, fixed it by, in
/PortalPollClass/propertysheets/methods/processEmbeddedVotes, changed the
proxy roles so that Manager was selected. That fixed it.
Now, maybe someone that knows what they're doing can tell me why :)