Commit 1f1a09aa authored by Jérome Perrin's avatar Jérome Perrin

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

parent 76ed33d3
...@@ -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