public
Created

Plone security dance

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7
from AccessControl.SecurityManagement import newSecurityManager
from AccessControl.SpecialUsers import system
from Testing.makerequest import makerequest
from transaction import commit
 
app=makerequest(app)
newSecurityManager(None, system)

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.