[Zope-dev] security.public/private/protected decorators

2011-11-16 Thread Florian Friesdorf

Hi Matthew, Alan,

as discussed during ploneconf2011 I wrote the decorators:
security.public
security.private
security.protected
as successors to their declareX pendants.

All new code is fully covered (except a raise).

@all: please review AccessControl r123394 - r123399

security.protected('permission') returns a decorator and it should be
ensured that all those decorators are actually called, i.e. that the @
isn't missing.

flo
-- 
Florian Friesdorf f...@chaoflow.net
  GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: f...@chaoflow.net
IRC: chaoflow on freenode,ircnet,blafasel,OFTC


pgpL1PCNZa8O3.pgp
Description: PGP signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] security.public/private/protected decorators

2011-11-16 Thread Florian Friesdorf

Sorry, forgot to Cc a couple of people involved in discussion and
solution included in this mail.

On Wed, 16 Nov 2011 19:33:56 -0800, Florian Friesdorf f...@chaoflow.net wrote:
 
 Hi Matthew, Alan,
 
 as discussed during ploneconf2011 I wrote the decorators:
 security.public
 security.private
 security.protected
 as successors to their declareX pendants.
 
 All new code is fully covered (except a raise).
 
 @all: please review AccessControl r123394 - r123399
 
 security.protected('permission') returns a decorator and it should be
 ensured that all those decorators are actually called, i.e. that the @
 isn't missing.
 
 flo

-- 
Florian Friesdorf f...@chaoflow.net
  GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: f...@chaoflow.net
IRC: chaoflow on freenode,ircnet,blafasel,OFTC


pgpdXIYoRPGZW.pgp
Description: PGP signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )