Skip to content

Group.Model.user should always be the default user on creation #7052

@edan-bainglass

Description

@edan-bainglass

If one creates a group, they are the owner. As such, the user field of the Group ORM model should be auto-generated as the default user with default_factory=lambda: User.collection.get_default().pk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions