Re: Managing access to references?
espen <[email protected]> Mon, 15 Jun 2015 04:55:44 -0700 (MST)
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
Hi (this is not really a topic I know too much about) Could you try the same on a site without the PloneHotfix, I think I remember that I had something similar after installing it (I am prety sure upgrading to a newer Plone without that hotfix fixed it) Espen 15. juni 2015 kl. 13:27 skrev Christoph Pingel-2 [via Plone] <ml-node+s293351n7573983h26-PKuAHvtXa09l57MIdRCFDg@public.gmane.org>: > 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 • [hidden email] > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Plone-Users mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/plone-users > > > If you reply to this email, your message will be added to the discussion below: > http://plone.293351.n2.nabble.com/Managing-access-to-references-tp7573983.html > To start a new topic under General Questions, email ml-node+s293351n293352h65-PKuAHvtXa09l57MIdRCFDg@public.gmane.org > To unsubscribe from Plone, click here. > NAML -- View this message in context: http://plone.293351.n2.nabble.com/Managing-access-to-references-tp7573983p7573984.html Sent from the General Questions mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Plone-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plone-users