Display audit log event with all information

This commit is contained in:
Montana
2018-11-14 16:09:08 -05:00
parent d13cf99b32
commit e5f183218c
2 changed files with 16 additions and 5 deletions

View File

@@ -44,8 +44,8 @@ class EnvironmentRole(Base, mixins.TimestampsMixin, mixins.AuditableMixin):
return {
"updated_user": self.user.displayname,
"updated_user_id": str(self.user_id),
"env": self.environment.displayname,
"env_id": str(self.environment_id),
"environment": self.environment.displayname,
"environment_id": str(self.environment_id),
"project": self.environment.project.name,
"project_id": str(self.environment.project_id),
"workspace": self.environment.project.workspace.name,