Check permissions before viewing member edit page
This commit is contained in:
@@ -69,4 +69,4 @@ class Workspace(Base, TimestampsMixin):
|
||||
|
||||
@property
|
||||
def members(self):
|
||||
return [ WorkspaceUser(role.user, role) for role in self.roles]
|
||||
return [WorkspaceUser(role.user, role) for role in self.roles]
|
||||
|
@@ -32,4 +32,3 @@ class WorkspaceUser(object):
|
||||
@property
|
||||
def status(self):
|
||||
return "radical"
|
||||
|
||||
|
Reference in New Issue
Block a user