security.public/private/protected decorators

Florian Friesdorf <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
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 <[email protected]>
  GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: [email protected]
IRC: chaoflow on freenode,ircnet,blafasel,OFTC

_______________________________________________
Zope-Dev maillist  -  [email protected]
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 )
signature.asc (application/pgp-signature, 835 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)

iQIcBAEBAgAGBQJOxICnAAoJEDj4maMMRfCDxE0P/R7cBhmXAt9DB8p/3hZ0jTbG
11UtS2Z0+f7MhpJLlZ5FY3JKJ7SCxOKI6U83xdnlj2F84yZNvc+l/PfvA60ra7Lk
a99kKFUwkvJhwV7/zpjWOCVpaIM2zkggghyAZZLhju18D6RDNO9vqYnRDlOdl2DQ
Js7jWzhGxz/7T4JG7D50dWQSRgr/O4cOQSl6n6CLmadfaFtoaoSR/Sl6ahlqfYWw
UCdRbr43cuty6dtSBLaP7AFYeCf22LMHfbhM4v8Rt3+gUOnSxXt5Fkr5AqPuQ+DD
AGTZY69uGncZoAVIR+GHOMKg7I60xhxLxClWS8+o6nWTMs5+Wh7UTcOjR/sZ629R
NVQo12no4Y8znKIbmm4Wi0hHnHt/EVIEJrhsSz32tyFFtZItYH6CKdNPlpfo3zNE
lf4xhbTPGLGL5MljaE9rjefkpw3m5MSw/+Y6Zq3QrI0Tqsr47E6jhwRWofkJrk1X
W/QxYerX/8G1hZOdDEDYbGxhkP4p6E62RBGzsCCtz97HDhEHHoajGLEVyUTb27Pi
H5aMJmgjfMatBcKsWwohaSuNpHQp95A4Pzr1hixqLpAWM93qBW3pm5/EYZkwgDeM
JTGjmQEwJiRVVbqftT591m4rOZ+weXgnQzv9g8FdTVgT4pvVwag/qKrswovxXpoF
zLVjP2zTBcGyuhnGADFS
=1hWa
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.