Security framework for Zope2.
Project description
AccessControl
AccessControl provides a general security framework for use in Zope.
Changelog
For changes before version 3.0, see HISTORY.rst.
4.0b7 (2019-04-13)
clarify deprecation waring for several BB shims (#32)
add 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)
Add support for Python 3.8
4.0b6 (2018-10-09)
.requestmethod._buildFacade() is now .requestmethod.buildfacade() and renders *args, **kwargs properly (regression introduced in 4.0b5). (#70)
4.0b5 (2018-10-05)
Add icon for Bootstrap ZMI.
Fix order of roles returned by AccessControl.rolemanager.RoleManager.userdefined_roles.
Add support for Python 3.7.
Remove duplicate guard against * imports. (#60)
Add configuration for zodbupdate.
Remove leftovers from history support dropped in Zope.
4.0b4 (2018-04-16)
Drop support for Python 3.4.
Add TaintedBytes besides TaintedString in AccessControl.tainted. (#57)
4.0b3 (2018-01-27)
Fix deprecation warnings which have shown up when running the tests.
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)
Avoid acquiring access from module wrapped by SecurityInfo._ModuleSecurityInfo. See: https://github.com/zopefoundation/AccessControl/issues/12
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
Built Distributions
Hashes for AccessControl-4.0b7-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27072a73dc7b1e355268ad939020afaa351919e965ccf11a4f9715ff81327461 |
|
MD5 | 607b084536ea58da097e42bf174c5395 |
|
BLAKE2b-256 | 9611af4b120ab3edc978f1b8e4ec62c0001c1e47415dff941536a9fdc22d3a15 |
Hashes for AccessControl-4.0b7-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c94ea732bd355f89cb7a80820a5a385b31913b7a25fb42570e69d6d7fc6641c6 |
|
MD5 | 9bd31a0b4cebdcf79fddffe586d6f94d |
|
BLAKE2b-256 | e911412fc87b0874bf58c7be1e3cb590355c22026cf1d39538f0fc19dec59836 |
Hashes for AccessControl-4.0b7-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 335c59e4644a0dc4db5e0673193c9f5f19524b42fff49e98eb6609c08c1f578d |
|
MD5 | 7b619de7e8476109a56bf482ae2c6446 |
|
BLAKE2b-256 | 76515e88cd07b61f8da12db94de14892168193dfaba567707d276b5545638af0 |
Hashes for AccessControl-4.0b7-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 415e950265691831195b3d4c44a7677a29d53bdd04d5c7cb9cd208c8a86d57b4 |
|
MD5 | c29652700866fb34d6bcccce21bddfe5 |
|
BLAKE2b-256 | 66327f6d1ebe7202b5c26ce7e942e20608255a2dec8681292cff8ef202629ae9 |
Hashes for AccessControl-4.0b7-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 295099557627039611b626f335968147e742e08ec809d01732d1bca70d597416 |
|
MD5 | 84bf9c33064a5d22b4999b41906fcd2a |
|
BLAKE2b-256 | 7e1f7e88552a64d8ed0098ece2e796cd9c7df9f78a3d3c685ccac0efd23c9af2 |
Hashes for AccessControl-4.0b7-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88b5d4dd06115e85f39f82761491b3e28fc97094eb3b5bc7c9774adfa013b46c |
|
MD5 | 80feb4397a1e10e29810a1534f40c420 |
|
BLAKE2b-256 | 597073f23ffd789ac813edcc7cd6f249e9a982887c37a0f3f1ac757eddc4dafe |
Hashes for AccessControl-4.0b7-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 067f605087c199e778d957eff14ed13b876b9943789c923afa03e0ef9d8c5317 |
|
MD5 | c3e8f26d0e683b18dcb530ccd5cbb8c8 |
|
BLAKE2b-256 | 3483430d772e36c7835a3eeefce2145eda38a989a5be352b500a4b0020d414b5 |
Hashes for AccessControl-4.0b7-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b52f67b729f05f9c86a9b91ad6fbd47e4a0300a63835ea499f7cd2c0574cfcc2 |
|
MD5 | 9ba4679b6357af771446aadab0b4efc4 |
|
BLAKE2b-256 | bd2e9ad83e7beba49d93ef383c9a832f4cb03e7bdf6538da7fc5d562c3f1c83e |