Skip to main content

Security framework for Zope2.

Project description

Overview

AccessControl provides a general security framework for use in Zope.

Changelog

For changes before version 3.0, see HISTORY.rst.

4.0b2 (2018-01-25)

  • Python 2 / 3 import improvements.

  • add Appveyor configuration to automate building Windows eggs

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

4.0b1 (2017-09-15)

  • 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.

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.0b2.tar.gz (105.8 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.0b2-cp36-cp36m-win_amd64.whl (140.1 kB view details)

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

AccessControl-4.0b2-cp35-cp35m-win_amd64.whl (140.1 kB view details)

Uploaded CPython 3.5mWindows x86-64

AccessControl-4.0b2-cp35-cp35m-win32.whl (138.4 kB view details)

Uploaded CPython 3.5mWindows x86

AccessControl-4.0b2-cp34-cp34m-win_amd64.whl (137.8 kB view details)

Uploaded CPython 3.4mWindows x86-64

AccessControl-4.0b2-cp34-cp34m-win32.whl (137.1 kB view details)

Uploaded CPython 3.4mWindows x86

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

Uploaded CPython 2.7mWindows x86-64

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

Uploaded CPython 2.7mWindows x86

File details

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

File metadata

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

File hashes

Hashes for AccessControl-4.0b2.tar.gz
Algorithm Hash digest
SHA256 56ef54aaf2446d89a0c3dfe4c0a7a61580aaec2b594669442dfab1302f3df194
MD5 ca0b6493473529260235362986310e71
BLAKE2b-256 698212cd451d6c6265ffbec7af5eaa98e0aa36a4aa0fa42fc60843de606dbc80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for AccessControl-4.0b2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 60bed23303744dbc693774acaa175bec5138a4af24f814b92027856d3ffb58f8
MD5 140a942cbf73465d5be8b8acbd974d20
BLAKE2b-256 553128533fd9ad6e041ae3e59fa15ebc096f879a2330f6b955a0ac7940235b3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for AccessControl-4.0b2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 a641a5b30ff79c6b8255fa422baffa62e09f43ba78e659f6546bed2db3ebe140
MD5 4ab2f7da0af02fea278ffec95d1860e4
BLAKE2b-256 7c0e44c4dcfe92e524e8ff377c9fdb62cfb929c7858197a35107c8b013a787af

See more details on using hashes here.

File details

Details for the file AccessControl-4.0b2-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for AccessControl-4.0b2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 9fc3bc16b6a2e6336479c9d95d47b5aea44c41b89a15d1fb4c51b4c81837a2f6
MD5 563af2241c0901a6b630099e10adcb25
BLAKE2b-256 b1633ce86fef00ee445c3409d5f480c70f28bd629c939265d8de62c9bed5378d

See more details on using hashes here.

File details

Details for the file AccessControl-4.0b2-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for AccessControl-4.0b2-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 3e8ff821999fbb71f42d60a9c2a8add24abec39e7b561d0733964e97f8fa4c68
MD5 ea3227312f5f9307c4bd28e5ae29adec
BLAKE2b-256 bbbc16093b9468c44a7c084ac9cd7c7bb276e6e32757ea1702e6fde9561ab5d5

See more details on using hashes here.

File details

Details for the file AccessControl-4.0b2-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for AccessControl-4.0b2-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 f345a6a674b739ebb298ef25c66c1510ceddfc81f7f595309567314fb1af6a70
MD5 ea7eb5f5df6848fc1ceb7d6633b08399
BLAKE2b-256 3e928c095ca3b55ea5e0ca868c15a3632ced7168181d7aeffd76b2c6deaa8b8c

See more details on using hashes here.

File details

Details for the file AccessControl-4.0b2-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for AccessControl-4.0b2-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 fbe1040b2a7f5b460801fb62940530d705b9c81c9ebc262843ec8b68e4c0e478
MD5 03bc0329e1f114c2880222fc3a373654
BLAKE2b-256 f906b352d7bc1cde7a5543b985aeb33dbaebb5d3ec6a17ab8001135bc32c2e84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for AccessControl-4.0b2-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 86e8e566a155a0fadec112d0fbbb77093a5744647768b4693a563c468900cad3
MD5 62491d223830ec836e1d8eca4aa591fa
BLAKE2b-256 5e164bfe94d42e194bf14e6958aa154214d56ac508b83aff917a5697971d6ab6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for AccessControl-4.0b2-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 62d657278f815578413343d7ab552647127bfd68700a7915c01d4ac798769fdc
MD5 088283d3efc62b9666bfd090fd72d7a2
BLAKE2b-256 bc472c735263ba9f2841b85ec238dc4dad38e4bf70f8a1471b4433e361562340

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