Re: [Zope3-Users] ForbiddenAttribute with defaultView directive

2009-09-12 Thread Markus Kemmerling
Hass, Do you use some version of z3c.layer that's registering standard Zope traversers as trusted adapters, like, e.g: In this case, if you traverse to 'student_object/top.html' the ItemTraverser will try to lookup the view: view = queryMultiAdapter((self.context, request), name=name)

Re: [Zope3-Users] ForbiddenAttribute error

2007-07-07 Thread Hermann Himmelbauer
Am Freitag, 6. Juli 2007 16:29 schrieb Mikael Moutakis: > Hello > I wrote a feed aggregator using the module FeedParser. I stored the RSS > feed url in a persistant content component and retrieved the feed data in > the view class. But I thought that I should move the feed data into the > content c

Re: [Zope3-Users] ForbiddenAttribute error

2007-07-06 Thread Maciej Wisniowski
> I get a > ForbiddenAttribute error when viewing the class AFAIR ForbiddenAttribute means that you have no permissions for attribute you want to access. No permissions means that it is neither allowed nor denied :) You're using feed.entries: > result+=[(e.updated_parsed, feed.channel, e) for e i

Re: [Zope3-Users] ForbiddenAttribute error

2007-07-06 Thread Dennis Noordsij
HA! I spoke too soon. Your permissions are OK, zope.View has the right permissions. Sorry about that. Check the permissions on "entries" in your feed, that's where the backtrace points to. D ___ Zope3-users mailing list Zope3-users@zope.org http://

Re: [Zope3-Users] ForbiddenAttribute error

2007-07-06 Thread Dennis Noordsij
> permission="zope.ManageContent" > set_schema=".interfaces.IFeed" > /> > > > > Haven't I declared the getRawFeedData method by including it in the IFeed > interface? > > Thanks! > > /Mikael M Hi Mikael Rest assured you have a permissions problem. (ForbiddenError

Re: [Zope3-Users] ForbiddenAttribute when adding to a folder

2006-11-24 Thread Tom Dossis
Dominique Lederer wrote: > Darryl Cousins schrieb: >> Hi Tim, >> >> On Sat, 2006-10-21 at 12:18 +0200, Tim Terlegård wrote: >>> Is there a way to add content without having @@+ in the URL? For >>> instance I'd like the url for adding events to be /addEvent. >>> >>> I get security problems when not

Re: [Zope3-Users] ForbiddenAttribute when adding to a folder

2006-11-24 Thread Dominique Lederer
Darryl Cousins schrieb: > Hi Tim, > > On Sat, 2006-10-21 at 12:18 +0200, Tim Terlegård wrote: >> Is there a way to add content without having @@+ in the URL? For >> instance I'd like the url for adding events to be /addEvent. >> >> I get security problems when not having @@+ in the URL. I have thi

Re: [Zope3-Users] ForbiddenAttribute problem with viewlet manager and hurry.workflow

2006-10-30 Thread Stephan Richter
On Wednesday 18 October 2006 07:31, Thierry Florac wrote: > I've created a ViewletManager to display available transitions, but a > ForbiddenAttribute exception is raised. I know that this exception is > due to missing permissions settings, but no configuration is working... See my other post on m

Re: [Zope3-Users] ForbiddenAttribute when adding to a folder

2006-10-21 Thread Darryl Cousins
Hi Tim, On Sat, 2006-10-21 at 12:18 +0200, Tim Terlegård wrote: > Is there a way to add content without having @@+ in the URL? For > instance I'd like the url for adding events to be /addEvent. > > I get security problems when not having @@+ in the URL. I have this view: > > for="zope.a

Re: [Zope3-Users] ForbiddenAttribute problem with viewlet manager and hurry.workflow

2006-10-18 Thread Thierry Florac
Le mercredi 18 octobre 2006 à 13:31 +0200, Thierry Florac a écrit : > Hi, > > I'm trying to use the "hurry.workflow" package (loaded from CVS) to > handle a simple workflow. > I've created a ViewletManager to display available transitions, but a > ForbiddenAttribute exception is raised. I know t

Re: [Zope3-Users] ForbiddenAttribute or unknown attribute?

2006-10-15 Thread Marius Gedminas
On Sun, Oct 15, 2006 at 03:20:17PM +0200, Christophe Combelles wrote: > In the link below, it is said that the ForbiddenAttribute exception is > ALWAYS a problem of permission. > http://kpug.zwiki.org/Zope3Faq#what-is-forbiddenattribute-exception-error > > But if you try to access an attribute th

Re: [Zope3-Users] ForbiddenAttribute on "locate" method

2006-10-11 Thread Thierry Florac
Le mercredi 11 octobre 2006 à 00:52 +0200, Thierry FLORAC a écrit : Hi, I try to setup a little application but have a probably little problem with a ForbiddenAttribute exception on "location.locate" method. Here is my setup : class IPhoto(IContainer,IContained): """Ph

Re: [Zope3-Users] ForbiddenAttribute: ('append', []) using append on PersistentList

2006-06-17 Thread Achim Domma
Achim Domma wrote: I have implemented a view for a catalog index. The page template contains this little form to add strings to a list of categories: [...] class EditView(object): def categories(self): return self.context.categories def add_category(self,name): self.co

Re: [Zope3-Users] ForbiddenAttribute

2006-05-17 Thread mats.nordgren
Look at form.txt in the formlib directory. On Wed, 17 May 2006 11:24:43 -0500, Jachin Rupe wrote > hi there > > thanks for the help. I was just reading somewhere that formlib is > the way to go. Is that the general consensus? > > The problem is, it doesn't look like formlib is covered in eit

Re: [Zope3-Users] ForbiddenAttribute

2006-05-17 Thread Jachin Rupe
hi there thanks for the help. I was just reading somewhere that formlib is the way to go. Is that the general consensus? The problem is, it doesn't look like formlib is covered in either of my books. Does anyone know of any good examples, howtos, tutorials, etc on it's use? I did fin

RE: [Zope3-Users] ForbiddenAttribute

2006-05-16 Thread dev
Hi Jachim [...] > ForbiddenAttribute: ('street', instance at 0x3afa828>) [...] > > class ABookEntryEditView(EditView): > __used_for__ = IABookEntry > > streetAddress_widget = CustomWidgetFactory(ObjectWidget, > ABookEntry) Try to use a formlib form with a correct setup. Or check this

Re: [Zope3-Users] forbiddenAttribute on frozenset?!

2006-03-20 Thread Stephan Richter
On Monday 06 March 2006 00:41, Shaun Cutts wrote: > I hope I don't have to declare permissions built in classes?!? Yes you do. We have no security declarations on frozenset in the Zope 3 code. I think this has been discussed on zope3-dev, but I am not sure whether security declarations were adde

Re: [Zope3-Users] ForbiddenAttribute "add" error

2006-03-04 Thread Joseph Method
Baiju M explained to me in IRC that http://localhost:8031/DebtManager/+/@@AddClaim.html should be http://localhost:8031/DebtManager/@@+/AddClaim.html or http://localhost:8031/DebtManager/+/AddClaim.html . So there you go. On 3/4/06, Joseph Method <[EMAIL PROTECTED]> wrote: > Interestingly enough,

Re: [Zope3-Users] ForbiddenAttribute "add" error

2006-03-03 Thread Joseph Method
Interestingly enough, switching the implementation to BTreeFolder causes this error: AttributeError: 'DebtManager' object has no attribute 'getSiteManager' On 3/4/06, baiju m <[EMAIL PROTECTED]> wrote: > On 3/4/06, Joseph Method <[EMAIL PROTECTED]> wrote: > > > is .interfaces.IDebtManager a ICon

Re: [Zope3-Users] ForbiddenAttribute "add" error

2006-03-03 Thread baiju m
On 3/4/06, Joseph Method <[EMAIL PROTECTED]> wrote: > > is .interfaces.IDebtManager a IContainer interface, i.e., > > you are extending IContainer, like :: > > > class IDebtManager(IContainer): > >pass > > The class is > > class DebtManager(Folder): > > which implements IDebtManager whic

Re: [Zope3-Users] ForbiddenAttribute "add" error

2006-03-03 Thread Joseph Method
> is .interfaces.IDebtManager a IContainer interface, i.e., > you are extending IContainer, like :: > class IDebtManager(IContainer): >pass The class is class DebtManager(Folder): which implements IDebtManager which is: class IDebtManager(IContainer): """IDebtManager Marker Inte

Re: [Zope3-Users] ForbiddenAttribute "add" error

2006-03-03 Thread baiju m
On 3/4/06, Joseph Method <[EMAIL PROTECTED]> wrote: > What kind of thing would go into an IContainerInterface? is .interfaces.IDebtManager a IContainer interface, i.e., you are extending IContainer, like :: class IDebtManager(IContainer): pass And you will be implementing IDebtManager

Re: [Zope3-Users] ForbiddenAttribute "add" error

2006-03-03 Thread baiju m
On 3/4/06, Joseph Method <[EMAIL PROTECTED]> wrote: > Hi, I get this error > > ForbiddenAttribute: ('add', object at 0x754d09ac>) > > when I try to add a "Claim" to a "DebtManager" (both are subclasses of > Folder) at http://localhost:8031/DebtManager/+/@@AddClaim.html > > The addform looks like t

Re: [Zope3-Users] ForbiddenAttribute error when adding a container

2005-09-15 Thread baiju m
On 9/14/05, Maciej Pietrzak <[EMAIL PROTECTED]> wrote: > > My guess is that you forgot to specify permissions for container interface. > > Add interface="zope.app.container.interfaces.IReadContainer"/> (or > something like that) to your ZCML file (inside element). > Thank you, that was the pr