Make the AlwaysFailPermission live up to its name.
This commit is contained in:
parent
78c8354174
commit
3bc8b8161c
1 changed files with 2 additions and 1 deletions
|
@ -235,7 +235,8 @@ class ViewTeamPermission(Permission):
|
||||||
|
|
||||||
|
|
||||||
class AlwaysFailPermission(Permission):
|
class AlwaysFailPermission(Permission):
|
||||||
pass
|
def can(self):
|
||||||
|
return False
|
||||||
|
|
||||||
|
|
||||||
@identity_loaded.connect_via(app)
|
@identity_loaded.connect_via(app)
|
||||||
|
|
Reference in a new issue