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.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.0b5-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27255e30b00ae8079babe920af5d610ddf7b9922de611eb5d77815fcb1de58af |
|
MD5 | a3066a55f33764173614c1bbf258bbbc |
|
BLAKE2b-256 | d86aa3c783f76db2ed173fd71ec52c840b04ededa166cab4801ccb0adac36794 |
Hashes for AccessControl-4.0b5-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 953e32163c38c78ab3b98afae295c4403ede40b82c841787604c2ef9de20a17b |
|
MD5 | c645e7203b3dda1ccf68da588b6cfa12 |
|
BLAKE2b-256 | 5384a37b24c090c9d3fba856b321af3b9a73b203c295fa162499c358b97649e1 |
Hashes for AccessControl-4.0b5-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cfb45106568a6e0f075966ad0e32fb2755acab61c7e4593fccb04b8af2ac124 |
|
MD5 | 83d0925d0bf0d8716df53125a1883619 |
|
BLAKE2b-256 | c7d4ef1e1a10b1f77766133339743bdbd31bc2563784d8656e31a448650863db |
Hashes for AccessControl-4.0b5-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8d6093720458fdf92d06e31b08ecfefa998771a292105eea852b65366ec8076 |
|
MD5 | d26b96feeb2093b68604a31c3426b98b |
|
BLAKE2b-256 | 3909f50445678f699898121b5060c1cc4db32e99777b24260468f8bd1b38a3db |
Hashes for AccessControl-4.0b5-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5056b815ce1d0208436e578528946eedaac6bf595d0efe65fa271ea6315c4de6 |
|
MD5 | 72461efc5b37557ec31ac25a0b90cbe1 |
|
BLAKE2b-256 | 49208fef78150a3c5ce9d472db06cb0226d92e5c9719f1e04f3e9d7b41e8aad1 |
Hashes for AccessControl-4.0b5-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36fec5279524236eb6d10511499afc6c53b21deb827b6e5dfed5bda35e9331eb |
|
MD5 | 65f3e5d6633ff6856488260502310c82 |
|
BLAKE2b-256 | 0493b31c944110d5d02bdee149579123ee9abe3eaba37146dcb558532241d482 |