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

6 lines
108 B
Python

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