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.2 (2020-04-20)

  • Add missing permission Manage WebDAV Locks

  • Fix regression for BBB import of `users.UnrestrictedUser (#94)

  • Add a check if database is present in .owner.ownerInfo. (#91).

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.2.tar.gz (105.1 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.2-cp37-cp37m-win_amd64.whl (141.5 kB view details)

Uploaded CPython 3.7mWindows x86-64

AccessControl-4.2-cp37-cp37m-win32.whl (139.7 kB view details)

Uploaded CPython 3.7mWindows x86

AccessControl-4.2-cp36-cp36m-win_amd64.whl (141.5 kB view details)

Uploaded CPython 3.6mWindows x86-64

AccessControl-4.2-cp36-cp36m-win32.whl (139.7 kB view details)

Uploaded CPython 3.6mWindows x86

AccessControl-4.2-cp27-cp27m-win_amd64.whl (139.3 kB view details)

Uploaded CPython 2.7mWindows x86-64

AccessControl-4.2-cp27-cp27m-win32.whl (138.5 kB view details)

Uploaded CPython 2.7mWindows x86

File details

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

File metadata

  • Download URL: AccessControl-4.2.tar.gz
  • Upload date:
  • Size: 105.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

File hashes

Hashes for AccessControl-4.2.tar.gz
Algorithm Hash digest
SHA256 db04b69cac00dfb94b3db0320fc1fa8effa8be547ba29e4fb50605f13fb0db19
MD5 88f2434f5e2885bd86c61a45b3e282e6
BLAKE2b-256 e1a0f4dd6fb510318ae14481b80ac72a0dd59091675797b539906b378296daa2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: AccessControl-4.2-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 141.5 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

File hashes

Hashes for AccessControl-4.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 11d4a04ac4516666a4d20d5b4e52a857cd7599751e5f44b494cb7e5f473db4a9
MD5 83268aa91e899c0dcf8e9fd7751cecd5
BLAKE2b-256 e5b56f5dcf0a7b99d449930445682e8101ad38252d02a0e6c766a788ce01ce74

See more details on using hashes here.

File details

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

File metadata

  • Download URL: AccessControl-4.2-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 139.7 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

File hashes

Hashes for AccessControl-4.2-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 14fb33f98618da65bc52c66c372084cf36e419321596e322327e1eb152c386a8
MD5 9669ce955f02eaa1cde6eff5884691ca
BLAKE2b-256 d42eba3fcc2792fd7834e89f6274f12c9a3c05cd215ebeaeecd1c675a0ec7152

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for AccessControl-4.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 c76af61793fddd68844c99a9f0687e03fa89c90df18392a3f199a3868e605b8f
MD5 176ba477a135ef196ffa759f963af03d
BLAKE2b-256 1464bd1940502ef270fb7a372b4e887be0b7dc91e3fdad7b9786c8791012319b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for AccessControl-4.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 36f6c0f69dfffe68cb8ecf7f556f84465da6533f97e00d8ae4c395cd869de738
MD5 bf498332cdd888681530d9a6f8ac935b
BLAKE2b-256 975134218807c08adf9c5e6669f75fa52b3f13b8709f5255c4ce63f03c0d9d26

See more details on using hashes here.

File details

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

File metadata

  • Download URL: AccessControl-4.2-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 139.3 kB
  • Tags: CPython 2.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/2.7.17

File hashes

Hashes for AccessControl-4.2-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 60d5f0e3644a10f846e2f18e1773c52fb8adbeeb2841fbb7844fe13f1937433b
MD5 10f7ba9652c8761c7f52170810b1ec8a
BLAKE2b-256 0407cabfe357fce76379deac6689d320505e3f091f2367f9beaf5fd64838b5cb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: AccessControl-4.2-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 138.5 kB
  • Tags: CPython 2.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/2.7.17

File hashes

Hashes for AccessControl-4.2-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 980849a6a44877cd481ab707ff5f9ce8ecbae9d32873ad3da843267446c5a171
MD5 a13180fb97359cdcdae0be779effd05e
BLAKE2b-256 bd60e5a9af699d4f74b6d6c15a6da68188990ac7efdfb7a1c93245ec568b62c3

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