hidden_groups = (
"cn=LDAP Read Only,ou=Group,dc=ipfire,dc=org",
"cn=LDAP Read Write,ou=Group,dc=ipfire,dc=org",
+ "cn=sudo,ou=Group,dc=ipfire,dc=org",
+
+ # Everyone is a member of people
+ "cn=people,ou=Group,dc=ipfire,dc=org",
)
@property
if isinstance(other, self.__class__):
return (self.description or self.gid) < (other.description or other.gid)
+ def __bool__(self):
+ return True
+
def __len__(self):
"""
Returns the number of members in this group