Content dump and hide apprentice docs for now...

This commit is contained in:
2022-07-04 12:15:48 +00:00
parent 9d95802629
commit 193b7324f7
41 changed files with 758 additions and 51 deletions

View File

@@ -0,0 +1,8 @@
class AccessControl:
current_user = None
...
def get_current_user(self):
if self.current_user.deleted is None:
return self.current_user
else:
raise Forbidden