mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-19 05:58:34 +02:00
wip: UI refactoring
* Activate by default the 'simple user' mode for domain administrators (when creating a new accoun) * Don't forget to grant access to objects created by domain admins to super admins see #204
This commit is contained in:
+1
-1
@@ -202,7 +202,7 @@ class User(DUser):
|
||||
|
||||
def get_identities(self):
|
||||
from modoboa.lib.permissions import get_content_type
|
||||
|
||||
|
||||
userct = get_content_type(self)
|
||||
alct = get_content_type(Alias)
|
||||
return self.objectaccess_set.filter(content_type__in=[userct, alct])
|
||||
|
||||
Reference in New Issue
Block a user