mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-18 12:19:29 +00:00
Allow for parent/child grouping
This commit is contained in:
@@ -13,6 +13,7 @@ class GroupInformation(models.Model):
|
||||
admins = models.ManyToManyField(User, blank=True)
|
||||
public = models.BooleanField("Public", default=False, help_text="Indicates if the group is visible to all")
|
||||
requestable = models.BooleanField("Requestable", default=False, help_text="Indicates if people can request to join this group")
|
||||
parent = models.ForeignKey(Group, related_name="children", null=True, blank=True)
|
||||
|
||||
description = models.TextField(help_text="Description of the group and its permissions", blank=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user