marrow / WebCore

WebCore, the super tiny and blazingly fast modular Python web nanoframework.
MIT License
94 stars 10 forks source link

Authorization Predicates #111

Closed amcgregor closed 9 years ago

amcgregor commented 12 years ago

Simply provide basic predicates and predicate factories for the @require if/elif/else decorator to consume.

agronholm commented 12 years ago

Need comments on the predicates implemented in the 110-authentication feature branch.

amcgregor commented 11 years ago

Not sure why anonymous was renamed unauthenticated -- it's a lot harder to type on QWERTY and while more literally true, the intention is to differentiate between authenticated and anonymous users. Not a fan of avoiding reserved words by appending underscores, either. Synonyms are your friend. Otherwise looks great!