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.1 (2019-09-02)

  • Python 3: Allow iteration over the result of dict.{keys,values,items} (#89).

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.1.tar.gz (107.6 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.1-cp37-cp37m-win_amd64.whl (141.3 kB view details)

Uploaded CPython 3.7mWindows x86-64

AccessControl-4.1-cp37-cp37m-win32.whl (139.6 kB view details)

Uploaded CPython 3.7mWindows x86

AccessControl-4.1-cp36-cp36m-win_amd64.whl (141.3 kB view details)

Uploaded CPython 3.6mWindows x86-64

AccessControl-4.1-cp36-cp36m-win32.whl (139.6 kB view details)

Uploaded CPython 3.6mWindows x86

AccessControl-4.1-cp27-cp27m-win_amd64.whl (139.1 kB view details)

Uploaded CPython 2.7mWindows x86-64

AccessControl-4.1-cp27-cp27m-win32.whl (138.3 kB view details)

Uploaded CPython 2.7mWindows x86

File details

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

File metadata

  • Download URL: AccessControl-4.1.tar.gz
  • Upload date:
  • Size: 107.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/None requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for AccessControl-4.1.tar.gz
Algorithm Hash digest
SHA256 488697b3c99db61b2f66deb9b60fad881389db8467947214b75f3aa4f7c3e7b1
MD5 2b6e9f914d2222a72db1c7d1abc4335b
BLAKE2b-256 7bd51bc052831922caf6c69b36568f50370b055f53b9d6eeac3109b303772312

See more details on using hashes here.

File details

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

File metadata

  • Download URL: AccessControl-4.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 141.3 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.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for AccessControl-4.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 e0b5fae77bab9247a32eceacb0205ab6a91c364362218b12be8056cd28d44248
MD5 74f6b506c8885cfd49e025469db001a9
BLAKE2b-256 ac011d0b1444b906daf2eb24f982204c6649705ee7c1f5a0d23c80533ea3b05b

See more details on using hashes here.

File details

Details for the file AccessControl-4.1-cp37-cp37m-win32.whl.

File metadata

  • Download URL: AccessControl-4.1-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 139.6 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for AccessControl-4.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 0437c33a0d03b169c7ae17cf76a9102d41800a7694193eac2189b6fe2d439313
MD5 04013961a48b14a584c340b791ec7eac
BLAKE2b-256 bf81be0726b83e8492bb96a2d15feaf762dacbcc4cd54069c710bfacfbe081a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: AccessControl-4.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 141.3 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.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for AccessControl-4.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 1bb4c694a4f384df3f6d4363e369edbf6b0e8a3a8c8fe5e81c05213e09704048
MD5 dfa962b41177caf1a8f2c9de3c2d3b5b
BLAKE2b-256 ecf89ffae28e2d07d6da6514697d8311e1f488041ae629d03289badfa3069586

See more details on using hashes here.

File details

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

File metadata

  • Download URL: AccessControl-4.1-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 139.6 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.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for AccessControl-4.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 66b254d0d47ad468625d8531cafdc1ea875e66e283739ca73fc40397fc742f1d
MD5 e196729ee645ceb438516310c78a2345
BLAKE2b-256 1e947d7b4147873d006ac65fa20943b2b4e25c33e741641bcf831d596e82daff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: AccessControl-4.1-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 139.1 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.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/2.7.16

File hashes

Hashes for AccessControl-4.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 0e920a7134eee24627941bfadd1c5af1dcc6e5f18ce0f43937c29d0f179df81a
MD5 1f3daca926c481b0412f8aa4f577584d
BLAKE2b-256 780d17611ff2b49def61fe478ca9fd4b795623d21ad5a8bf6ef193540ff1b1e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: AccessControl-4.1-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 138.3 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.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/2.7.16

File hashes

Hashes for AccessControl-4.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 d2533c90fb96e4ba15f8e3c43fb8a7910e86509701c72f6cad5152fadc704f36
MD5 b760d882a65752dd0bca42b738453177
BLAKE2b-256 ad62b95eb207ab0f6d5be584148c1886d742851e0460fea27067c1da4584e2cd

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