diff --git a/apps/users/models/user.py b/apps/users/models/user.py index f387c7344..e7834a088 100644 --- a/apps/users/models/user.py +++ b/apps/users/models/user.py @@ -384,7 +384,7 @@ class RoleMixin: def set_default_system_role(self): from rbac.builtin import BuiltinRole - role_user = BuiltinRole.org_user.get_role() + role_user = BuiltinRole.system_user.get_role() self.system_roles.add(role_user)