Skip to main content

Security framework for Zope.

Project description

https://travis-ci.org/zopefoundation/AccessControl.svg?branch=master https://coveralls.io/repos/github/zopefoundation/AccessControl/badge.svg?branch=master Current version on PyPI Supported Python versions

AccessControl

AccessControl provides a general security framework for use in Zope.

Changelog

For changes before version 3.0, see HISTORY.rst.

4.0 (2019-05-08)

Changes since 3.0.12:

  • Add support for Python 3.5, 3.6, 3.7 and 3.8.

  • Restore simple access to bytes methods in Python 3 (#83)

  • Clarify deprecation warnings for several BBB shims. (#32)

  • Add a test to prove that a user folder flag cannot be acquired elsewhere. (#7)

  • Tighten basic auth string handling in BasicUserFolder.identify (#56)

  • Prevent the Zope 4 ZMI from showing an add dialog for the user folder. (#82)

  • Fix order of roles returned by AccessControl.rolemanager.RoleManager.userdefined_roles.

  • Add configuration for zodbupdate.

  • Add TaintedBytes besides TaintedString in AccessControl.tainted. (#57)

  • Security fix: In str.format, check the security for attributes that are accessed. (Ported from 2.13).

  • Port override_container context manager here from 2.13.

  • Add AppVeyor configuration to automate building Windows eggs.

  • Fix for compilers that only support C89 syntax (e.g. on Windows).

  • Sanitize and test RoleManager role handling.

  • Depend on RestrictedPython >= 4.0.

  • #16: Fixed permission handling by avoiding column and row numbers as identifiers for permissions and roles.

  • Extract .AuthEncoding to its own package for reuse.

  • Declare missing dependency on BTrees.

  • Drop Record dependency, which now does its own security declaration.

  • Remove leftovers from history support dropped in Zope.

  • Remove duplicate guard against * imports. (#60)

3.0.12 (2015-12-21)

3.0.11 (2014-11-02)

  • Harden test fix for machines that do not define localhost.

3.0.10 (2014-11-02)

  • Test fix for machines that do not define localhost.

3.0.9 (2014-08-08)

  • GitHub #6: Do not pass SecurityInfo instance itself to declarePublic/declarePrivate when using the public/private decorator. This fixes Conflicting security declarations warnings on Zope startup.

  • LP #1248529: Leave existing security manager in place inside RoleManager.manage_getUserRolesAndPermissions.

3.0.8 (2013-07-16)

  • LP #1169923: ensure initialization of shared ImplPython state (used by ImplC) when using the “C” security policy. Thanks to Arnaud Fontaine for the patch.

3.0.7 (2013-05-14)

  • Remove long-deprecated ‘Shared’ roles support (pre-dates Zope, never used by Zope itself)

  • Prevent infinite loop when looking up local roles in an acquisition chain with cycles.

3.0.6 (2012-10-31)

  • LP #1071067: Use a stronger random number generator and a constant time comparison function.

3.0.5 (2012-10-21)

  • LP #966101: Recognize special zope2.Private permission in ZCML role directive.

3.0.4 (2012-09-09)

  • LP #1047318: Tighten import restrictions for restricted code.

3.0.3 (2012-08-23)

  • Fix a bug in ZopeSecurityPolicy.py. Global variable rolesForPermissionOn could be overridden if __role__ had custom rolesForPermissionOn.

3.0.2 (2012-06-22)

  • Add Anonymous as a default role for Public permission.

3.0.1 (2012-05-24)

  • Fix tests under Python 2.6.

3.0 (2012-05-12)

  • Added decorators for public, private and protected security declarations.

  • Update tests to take advantage of automatic test suite discovery.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

AccessControl-4.0.tar.gz (109.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

AccessControl-4.0-cp37-cp37m-win_amd64.whl (141.1 kB view details)

Uploaded CPython 3.7mWindows x86-64

AccessControl-4.0-cp36-cp36m-win_amd64.whl (141.1 kB view details)

Uploaded CPython 3.6mWindows x86-64

AccessControl-4.0-cp36-cp36m-win32.whl (139.4 kB view details)

Uploaded CPython 3.6mWindows x86

AccessControl-4.0-cp27-cp27m-win_amd64.whl (138.9 kB view details)

Uploaded CPython 2.7mWindows x86-64

AccessControl-4.0-cp27-cp27m-win32.whl (138.1 kB view details)

Uploaded CPython 2.7mWindows x86

File details

Details for the file AccessControl-4.0.tar.gz.

File metadata

  • Download URL: AccessControl-4.0.tar.gz
  • Upload date:
  • Size: 109.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.7 CPython/2.7.16

File hashes

Hashes for AccessControl-4.0.tar.gz
Algorithm Hash digest
SHA256 a54d431ab1a8a23e9280e20e5162bc31f08c0f080b7d1f37b4b774727fe3101a
MD5 b00164773ad68a13219b706689a60604
BLAKE2b-256 d0e221fdb19c87b3fcb030763aaa84195bcb321745dcc93dc74b42bb91c2ee05

See more details on using hashes here.

File details

Details for the file AccessControl-4.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: AccessControl-4.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 141.1 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for AccessControl-4.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 604483d405bb12e494b9ff54b1e847ceb402e3c75ca2b15aeded66866012aa24
MD5 6e0d6acbab2db1b854f395adda3b33a2
BLAKE2b-256 dd3e365f51a0e919c0c8b347e05955fd17759ecffe84ff48b17d9eb79747b6b5

See more details on using hashes here.

File details

Details for the file AccessControl-4.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: AccessControl-4.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 141.1 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for AccessControl-4.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 2e8af007c071743b3f8a2260e6f6585369bd31e704c4a314a3b6305854ca7af0
MD5 c1a959e74a530aaa4675e59c17c92cd7
BLAKE2b-256 c612542beb8f25618fcb9ed187f09eae7a195bad87e28e7e648457cd8a6e8655

See more details on using hashes here.

File details

Details for the file AccessControl-4.0-cp36-cp36m-win32.whl.

File metadata

  • Download URL: AccessControl-4.0-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 139.4 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for AccessControl-4.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 60e15ebd961b5929d3ee825581200496878a75e9dfe1a3e75ef70ffcfe84379e
MD5 c47a1761f70a446bba1583071a52686a
BLAKE2b-256 f52dcad574bfc8f0abd63b79f5cb6e0fd48aabce40626d417b90d4de871a5747

See more details on using hashes here.

File details

Details for the file AccessControl-4.0-cp27-cp27m-win_amd64.whl.

File metadata

  • Download URL: AccessControl-4.0-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 138.9 kB
  • Tags: CPython 2.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.16

File hashes

Hashes for AccessControl-4.0-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 f3e335b96618ae822ef318a77f5eeaf7eb7d980b7182d03e2688ccbf5aabd988
MD5 4ae8c44e15da7e4a819d48b7d4808621
BLAKE2b-256 52142661fd853f2dbdab45542f1cfc1a497b98763a8a9fb14ebfeb4e5762542f

See more details on using hashes here.

File details

Details for the file AccessControl-4.0-cp27-cp27m-win32.whl.

File metadata

  • Download URL: AccessControl-4.0-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 138.1 kB
  • Tags: CPython 2.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.16

File hashes

Hashes for AccessControl-4.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 bb853af3e57a044923a4abcae5f99dfb3f65659a7fc02dcdeb15269c7adcf9c0
MD5 aedb4cca7190aae02bf6106e6049c520
BLAKE2b-256 2be3c4e2614846ed42f32f5948a6693f135fbc8db3bae7d5a5debf2803edd9da

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page