github.io/assets/apprentice/security/accesscontrol.py

6 lines
108 B
Python
Raw Normal View History

class AccessControl:
current_user = None
...
def get_current_user(self):
return self.current_user