Commit 94688276 authored by Jérome Perrin's avatar Jérome Perrin

patches/AccessControl: backport fix for GHSA-g5vw-3h65-2q3v

parent ccadeaa4
Pipeline #37841 passed with stage
in 0 seconds
...@@ -86,3 +86,10 @@ def getWrappedOwner(self): ...@@ -86,3 +86,10 @@ def getWrappedOwner(self):
return result return result
AccessControl.owner.Owned.getWrappedOwner = getWrappedOwner AccessControl.owner.Owned.getWrappedOwner = getWrappedOwner
# backported fix for GHSA-g5vw-3h65-2q3v
import six
if six.PY2:
import AccessControl.userfolder
AccessControl.userfolder.UserFolder.data__roles__ = ()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment