From 3782bd7888fd0a3d65454bc64c57c7cf006071b5 Mon Sep 17 00:00:00 2001 From: "Jens W. Klein" Date: Wed, 12 Jun 2024 17:31:29 +0200 Subject: [PATCH] Sane defaults to address: Deleted users keep the roles they had see https://github.com/plone/Products.CMFPlone/issues/3937 --- news/67.bugfix | 3 +++ src/plone/base/interfaces/controlpanel.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 news/67.bugfix diff --git a/news/67.bugfix b/news/67.bugfix new file mode 100644 index 0000000..4e17920 --- /dev/null +++ b/news/67.bugfix @@ -0,0 +1,3 @@ +Change security defaults to use UUID based login IDs and email-based login-names. +See https://github.com/plone/Products.CMFPlone/issues/3937 for details. +[jensens] \ No newline at end of file diff --git a/src/plone/base/interfaces/controlpanel.py b/src/plone/base/interfaces/controlpanel.py index 7f57588..3b0a9b7 100644 --- a/src/plone/base/interfaces/controlpanel.py +++ b/src/plone/base/interfaces/controlpanel.py @@ -1120,7 +1120,7 @@ class ISecuritySchema(Interface): "saving this form will fail. You can use the " "@@migrate-to-emaillogin page to show the duplicates." ), - default=False, + default=True, required=False, ) @@ -1132,7 +1132,7 @@ class ISecuritySchema(Interface): "login name, or when using the email address as login name we " "generate a user id based on the fullname." ), - default=False, + default=True, required=False, )