• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zopefoundation / AccessControl / 4274890848

pending completion
4274890848

push

github

Jens Vagelpohl
- vb [ci skip]

934 of 1458 branches covered (64.06%)

Branch coverage included in aggregate %.

4982 of 5839 relevant lines covered (85.32%)

4.26 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/AccessControl/Role.py
1
##############################################################################
2
#
3
# Copyright (c) 2002 Zope Foundation and Contributors.
4
#
5
# This software is subject to the provisions of the Zope Public License,
6
# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
7
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
8
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
9
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
10
# FOR A PARTICULAR PURPOSE
11
#
12
##############################################################################
13
"""Access control support
×
14
"""
15

16
from zope.deferredimport import deprecated
×
17

18

19
deprecated(
×
20
    "The functionality of AccessControl.Role has moved to"
21
    " AccessControl.rolemanager. Please import from there."
22
    " This backward compatibility shim will be removed in AccessControl"
23
    " version 6.",
24
    DEFAULTMAXLISTUSERS='AccessControl.rolemanager:DEFAULTMAXLISTUSERS',
25
    _isBeingUsedAsAMethod='AccessControl.rolemanager:_isBeingUsedAsAMethod',
26
    _isNotBeingUsedAsAMethod='AccessControl.rolemanager:_isNotBeingUsedAsAMethod',  # noqa
27
    class_attrs='AccessControl.rolemanager:class_attrs',
28
    class_dict='AccessControl.rolemanager:class_dict',
29
    classattr='AccessControl.rolemanager:classattr',
30
    gather_permissions='AccessControl.rolemanager:gather_permissions',
31
    instance_attrs='AccessControl.rolemanager:instance_attrs',
32
    instance_dict='AccessControl.rolemanager:instance_dict',
33
    reqattr='AccessControl.rolemanager:reqattr',
34
)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc