~vcs-imports/silva/trunk

« back to all changes in this revision

Viewing changes to Security.py

  • Committer: sylvain
  • Date: 2010-12-01 17:01:47 UTC
  • Revision ID: vcs-imports@canonical.com-20101201170147-8ln30r6h9r8459qq
Remove more code related to the request role UI.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Copyright (c) 2002-2010 Infrae. All rights reserved.
2
2
# See also LICENSE.txt
3
 
# $Id: Security.py 46108 2010-10-22 11:47:50Z sylvain $
 
3
# $Id: Security.py 46732 2010-12-01 17:01:47Z sylvain $
4
4
 
5
5
# Zope
6
6
from AccessControl import ClassSecurityInfo, getSecurityManager
13
13
# Silva
14
14
from Products.Silva import SilvaPermissions
15
15
from Products.Silva import roleinfo
16
 
from Products.Silva.AccessManager import AccessManager
17
16
from Products.Silva.Membership import noneMember
18
17
 
19
18
from silva.core.interfaces import IVersion, IRoot
30
29
    """This roles can be assigned.
31
30
    """
32
31
 
33
 
class Security(AccessManager):
 
32
class Security(object):
34
33
    """Can be mixed in with an object to support Silva security.
35
34
    (built on top of Zope security)
36
35
    Methods prefixed with sec_ so as not to disrupt similarly named