auditable_workspace_id for Environment
This commit is contained in:
parent
0c8d303bdd
commit
004985057c
@ -22,3 +22,6 @@ class Environment(Base, mixins.TimestampsMixin, mixins.AuditableMixin):
|
|||||||
@property
|
@property
|
||||||
def num_users(self):
|
def num_users(self):
|
||||||
return len(self.users)
|
return len(self.users)
|
||||||
|
|
||||||
|
def auditable_workspace_id(self):
|
||||||
|
return self.project.workspace_id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user