Commit b8c27e6d by Máhonfai Bálint

Export future members' org IDs when exporting group

parent 6f4187b1
Pipeline #1441 passed with stage
in 0 seconds
...@@ -365,9 +365,9 @@ class GroupProfile(AclBase): ...@@ -365,9 +365,9 @@ class GroupProfile(AclBase):
"instance_limit": self.instance_limit, "instance_limit": self.instance_limit,
"template_instance_limit": self.template_instance_limit, "template_instance_limit": self.template_instance_limit,
"disk_quota": self.disk_quota, "disk_quota": self.disk_quota,
"users": [ "users":
user.profile.org_id for user in self.group.user_set.all() [user.profile.org_id for user in self.group.user_set.all()] +
], [user.org_id for user in self.group.futuremember_set.all()],
"permissions": [ "permissions": [
permission.natural_key() permission.natural_key()
for permission in self.group.permissions.all() for permission in self.group.permissions.all()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment