Use members in application.users instead of roles
This commit is contained in:
parent
422f9b5298
commit
86e315e56f
@ -33,7 +33,7 @@ class Application(
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def users(self):
|
def users(self):
|
||||||
return set(role.user for role in self.roles)
|
return set(role.user for role in self.members)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def members(self):
|
def members(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user