Python: a simple concept demo of role-based authorization and authentication. Could be incorporated in a web framework.