From: Michael Tremer Date: Thu, 16 Nov 2017 13:04:43 +0000 (+0100) Subject: accounts: Admin group has been replaced by wheel X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d82bc8e38626ce1637a4c7f44a8ed4bbec6aad63;p=ipfire.org.git accounts: Admin group has been replaced by wheel Signed-off-by: Michael Tremer --- diff --git a/webapp/backend/accounts.py b/webapp/backend/accounts.py index c7b943a1..ffbf2a0c 100644 --- a/webapp/backend/accounts.py +++ b/webapp/backend/accounts.py @@ -187,7 +187,7 @@ class Account(Object): return True def is_admin(self): - return "admins" in self.groups + return "wheel" in self.groups def is_talk_enabled(self): return "sipUser" in self.classes or "sipRoutingObject" in self.classes \