Skip to main content

Security framework for Zope2.

Project description

Overview

AccessControl provides a general security framework for use in Zope2.

Changelog

For changes before version 3.0, see HISTORY.rst.

4.0a7 (2017-05-17)

  • Increase Python 3 compatibility.

4.0a6 (2017-05-12)

  • Make the C extension Python 3 compatible.

  • Sanitize and test RoleManager role handling.

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

4.0a5 (2017-05-05)

  • Add support for Python 3.4 up to 3.6. (only Python implementation)

  • Depend on RestrictedPython >= 4.0.

4.0a4 (2017-02-01)

  • Use @implementer class decorator.

  • Remove AccessControl.Permission.name_trans to ease Python 3 migration. Use AccessControl.Permission.getPermissionIdentifier() instead.

4.0a3 (2016-08-05)

  • Extract .AuthEncoding to its own package for reuse.

4.0a2 (2016-08-01)

  • Declare missing dependency on BTrees.

4.0a1 (2016-07-21)

  • Modernised C code in preparation of porting to Python 3.

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

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.0a7.tar.gz (97.7 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.0a7-cp36-cp36m-manylinux1_x86_64.whl (172.3 kB view details)

Uploaded CPython 3.6m

AccessControl-4.0a7-cp35-cp35m-manylinux1_x86_64.whl (172.3 kB view details)

Uploaded CPython 3.5m

AccessControl-4.0a7-cp34-cp34m-manylinux1_x86_64.whl (172.2 kB view details)

Uploaded CPython 3.4m

File details

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

File metadata

  • Download URL: AccessControl-4.0a7.tar.gz
  • Upload date:
  • Size: 97.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for AccessControl-4.0a7.tar.gz
Algorithm Hash digest
SHA256 2b0bdf2a358a3d0f0cf9b93c6b83a8aa36cf599546e0cb6d4a5e7827a03914f1
MD5 5ce64543d919aaa67c85eb593de19fb0
BLAKE2b-256 5482c2748698f7477973053862441d16100b96f13b297e705c7c5b8baf912556

See more details on using hashes here.

File details

Details for the file AccessControl-4.0a7-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for AccessControl-4.0a7-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 36ea478201bc4930390401e8324c6cd2b33818766d6d9bca23fe255b4c74a0ac
MD5 d3eb7b320ac85d3580da8a2f69730c9a
BLAKE2b-256 1ca900c88c4c84d9db735afb4c415006f6191cfb846667ec29e2f42b7eabe595

See more details on using hashes here.

File details

Details for the file AccessControl-4.0a7-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for AccessControl-4.0a7-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c781d2b24566249ee40cf3c395b9aab1eb1e5bae4927df6f6f5e3191ba2884ed
MD5 b9dd0f5e9af3288a79e45c98aba629d5
BLAKE2b-256 e5e396dc1d5c789c59026e4754ce406d15e65e760e09f17d67cffa1db9ceed80

See more details on using hashes here.

File details

Details for the file AccessControl-4.0a7-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for AccessControl-4.0a7-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8ddc1fc6f0644d8741e6bfaef7c2222f1b622d8dd5fc347b41e453f1d51c6871
MD5 d7a2de7d49fd908072515674c38dfa21
BLAKE2b-256 c4e922c12886c8ecfd76ebe9bd5475189343b8ee14559e36c4089ac6bf58d8ea

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