Closed pythononwheels closed 7 years ago
as a plugin in ext/auth but as an intermediate solution realized as a decorator.
so: @authenticate def action(self): example ...
will make an action executable only if a user is logged on.
Veeerrry simple but enough for Beta1.
A more sophisticated Authentication will follow in Beta2.
Role Based Authorisation might be left to someone else ....
works now. Based on tornado auth. Basic only checks user/password. You can choose between sql or NoSql db.
Other options can be added as custom extensions.
as a plugin in ext/auth but as an intermediate solution realized as a decorator.
so: @authenticate def action(self): example ...
will make an action executable only if a user is logged on.
Veeerrry simple but enough for Beta1.
A more sophisticated Authentication will follow in Beta2.
Role Based Authorisation might be left to someone else ....