|
From: Daniele T. <d.t...@ic...> - 2002-03-25 08:43:28
|
On Thursday 21 March 2002 18:01, you wrote:
> While I was browsing the source I came across something that seems a bi=
t
> off ( from the little I know about security )
>
> I have to say I'm a bit confused :-o
>
> line 274 of openflow.py
> security.declarePrivate('Manage OpenFlow')
> -- right above the method: def processIdActivityIdFromItem(self,item)
>
> version 1.28 doesn't have this method or this security declaration
>
> if this is a bug could someone explain the behaviour it might be causin=
g?
>
Yes, it is a bug, even though it won't show up anyway. The line should ha=
ve=20
been (it has been corrected on the cvs):
security.declarePrivate('processIdActivityIdFromItem')
The behaviour of the bug is: it declares that the class method "Manage=20
OpenFlow" is to be considered for private use. The method can't be called=
=20
from anything except other class methods. Since "Manage OpenFlow" is not =
a=20
method declared anywhere, the security declaration does nothing. Clear en=
ough?
Daniele =3D)
|