Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(103)  |  Call(40)  |  Derive(9)  |  Import(54)
User that passes all security checks.  Note, however, that modules
like Owner.py can still impose restrictions.

src/p/r/Products.SimpleUserFolder-2.0.0/Products/SimpleUserFolder/tests/base.py   Products.SimpleUserFolder(Download)
from AccessControl.SecurityManagement import newSecurityManager, noSecurityManager
from AccessControl.SecurityManager import setSecurityPolicy
from AccessControl.User import UnrestrictedUser
from OFS.Folder import manage_addFolder
from Products.SimpleUserFolder.SimpleUserFolder import addSimpleUserFolder

src/p/r/Products.GroupUserFolder-3.55.1/Products/GroupUserFolder/tests/testUserAPI.py   Products.GroupUserFolder(Download)
from AccessControl.SecurityManagement import newSecurityManager, noSecurityManager, getSecurityManager
from AccessControl import Unauthorized
from AccessControl.User import UnrestrictedUser
 
import urllib

src/p/r/Products.GroupUserFolder-3.55.1/Products/GroupUserFolder/tests/testPloneTools.py   Products.GroupUserFolder(Download)
     noSecurityManager, getSecurityManager
from AccessControl import Unauthorized
from AccessControl.User import UnrestrictedUser
 
import urllib

src/p/r/Products.GroupUserFolder-3.55.1/Products/GroupUserFolder/tests/testPloneInterface.py   Products.GroupUserFolder(Download)
from AccessControl.SecurityManagement import newSecurityManager, noSecurityManager, getSecurityManager
from AccessControl import Unauthorized
from AccessControl.User import UnrestrictedUser
 
import urllib

src/p/r/Products.GroupUserFolder-3.55.1/Products/GroupUserFolder/tests/testMultipleSources.py   Products.GroupUserFolder(Download)
from AccessControl.SecurityManagement import newSecurityManager, noSecurityManager, getSecurityManager
from AccessControl import Unauthorized
from AccessControl.User import UnrestrictedUser
 
import urllib

src/p/r/Products.GroupUserFolder-3.55.1/Products/GroupUserFolder/tests/testLDAPUserFolder.py   Products.GroupUserFolder(Download)
from AccessControl.SecurityManagement import newSecurityManager, noSecurityManager, getSecurityManager
from AccessControl import Unauthorized
from AccessControl.User import UnrestrictedUser
 
import urllib

src/p/r/Products.GroupUserFolder-3.55.1/Products/GroupUserFolder/tests/testLDAPGroupFolder.py   Products.GroupUserFolder(Download)
from AccessControl.SecurityManagement import newSecurityManager, noSecurityManager, getSecurityManager
from AccessControl import Unauthorized
from AccessControl.User import UnrestrictedUser
 
import urllib

src/p/r/Products.GroupUserFolder-3.55.1/Products/GroupUserFolder/tests/testGroupUserFolderAPI.py   Products.GroupUserFolder(Download)
     noSecurityManager, getSecurityManager
from AccessControl import Unauthorized
from AccessControl.User import UnrestrictedUser
 
import urllib

src/p/r/Products.GroupUserFolder-3.55.1/Products/GroupUserFolder/tests/testGroupUserFolder.py   Products.GroupUserFolder(Download)
from AccessControl import Unauthorized
from AccessControl import Permissions
from AccessControl.User import UnrestrictedUser
from AccessControl.PermissionRole import rolesForPermissionOn
 

src/p/r/Products.GroupUserFolder-3.55.1/Products/GroupUserFolder/tests/GRUFTestCase.py   Products.GroupUserFolder(Download)
from AccessControl.SecurityManagement import newSecurityManager, noSecurityManager, getSecurityManager
from AccessControl import Unauthorized
from AccessControl.User import UnrestrictedUser
from AccessControl import Permission
import urllib

Previous  1 | 2 | 3 | 4 | 5