Beispiel #1
0
 def has_permission(self, auth: Auth):
     return auth.is_authenticated() and auth.user.is_admin
Beispiel #2
0
 def has_permission(self, auth: Auth):
     return auth.is_authenticated()