Managing access to references?

Christoph Pingel <[email protected]> Mon, 15 Jun 2015 13:26:45 +0200
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
Hello,

I have a site running Plone 4.16 with a custom contenttype. I need certain functionality to be available for anonymous users, which I can steer with adapted workflows.
However, I ran into a problem with references. 

Traceback (innermost last):

Module ZPublisher.Publish, line 60, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 46, in call_object
Module eo.base.browser.anonymousajax, line 191, in __call__
Module Products.Archetypes.ClassGen, line 76, in generatedMutator
Module Products.Archetypes.Field, line 1860, in set
Module Products.Archetypes.ReferenceEngine, line 363, in getReferences
Module Products.Archetypes.ReferenceEngine, line 387, in _optimizedReferences
Module Products.Archetypes.ReferenceEngine, line 572, in _resolveBrains
Module Products.PloneHotfix20130618.catalog, line 56, in getObject
Module OFS.Traversable, line 316, in restrictedTraverse
Module OFS.Traversable, line 251, in unrestrictedTraverse
__traceback_info__: ([], '933200cf2aca426ca4098213a4eb85c7')
Unauthorized: You are not allowed to access '933200cf2aca426ca4098213a4eb85c7' in this context



The strange thing is, both target and source are accessible for anonymous users. 

Resolving the UID I get this object:
<Reference sid:ec364322eda1419ab8c2161ecea272c5 tid:6ced9275262d4162a5113a3336e2e623 rel:fehlerursache_logical_parent_ref>
Maybe I'm blind, but I just can't figure out how to manage access to references 'per se' which is obviously what I have to do here...

I appreciate any hints to a solution.

best regards,
Christoph





// Christoph Pingel, MA • Blumenstraße 25 • 76899 Ubstadt-Weiher • 07253-4077742 • [email protected]

------------------------------------------------------------------------------

_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users