Zope Subversion Repository |
|
Remove CVS-era Id fossils.
Conform to repository policy.
Moving code to satellite.
clean imports
Merge of jim-adapter branch: This branch has three major refactorings on it: - A redesign of the adapter registration machinery - A major simplification of local component management See zope.component.interfaces.IComponentRegistry. - A flexible system for combining component registries. - A beginning of the migration of packages out of zope.app. - A new package for doing deferred imports. This allows you to make names available at the package level without creating circular imports. See zope.deferredimport and see zope.component.__init__ for examples of it's use. This package also provides a way to deprecate names in a module. - Deprecation of zope. i18nmessageid.MessageID I should have created checkin messages for individual sets of related changes, but there were just too many for the time allowed.
Move zope.app.security.adapter to zope.security.adapter. This module contains adapter factories for trusted/untrusted and located adapters; they're useful outside zope.app.
Adjust zope.app to the new import location of zope.app.location.
Recreate jim-adapter branch
Fixing app.security.adapter.assertLocation doc string. The implemented logic is the other way around (too much negation does that ;-).
Whitespace fixups.
Add locate attribute to the adapter directive in order to ensure location for security proxied objects. An explicite locate should be used if complex adapter permission are declared within an additional class directive. Assert location if a non-public permission was specified within an adapter directive so that restricted adapters work with local authentication too. Fix 'Wiki permissions and PAU' bug reported by Paolo Invernizzi
Lots of typo fixes and cosmetic touches.
Merged from ZopeX3-3.0 branch: r27201 | jim | 2004-08-20 18:14:11 -0400 (Fri, 20 Aug 2004) | 2 lines Removed unneeded removeAllProxies calls. ------------------------------------------------------------------------ r27200 | jim | 2004-08-20 17:47:26 -0400 (Fri, 20 Aug 2004) | 2 lines Removed unneeded removeAllProxies calls. ------------------------------------------------------------------------ r27199 | jim | 2004-08-20 17:42:45 -0400 (Fri, 20 Aug 2004) | 2 lines Converted removeAllProxies calls to the prefered removeSecurityProxy. ------------------------------------------------------------------------ r27198 | jim | 2004-08-20 17:07:23 -0400 (Fri, 20 Aug 2004) | 2 lines Converted a package with one module to a regulat module. ------------------------------------------------------------------------ r27197 | jim | 2004-08-20 17:05:39 -0400 (Fri, 20 Aug 2004) | 2 lines Made the dependency subscriber trusted ------------------------------------------------------------------------ r27196 | jim | 2004-08-20 17:05:37 -0400 (Fri, 20 Aug 2004) | 8 lines Converted removeAllProxies calls to the prefered removeSecurityProxy. D src/zope/app/security/interfaces D src/zope/app/security/interfaces/__init__.py A + src/zope/app/security/interfaces.py Converted a package with one module to a regulat module. ------------------------------------------------------------------------ r27195 | jim | 2004-08-20 16:29:43 -0400 (Fri, 20 Aug 2004) | 4 lines Added a zapi.isinstance method that works with security proxies. ------------------------------------------------------------------------ r27194 | jim | 2004-08-20 15:26:59 -0400 (Fri, 20 Aug 2004) | 3 lines Added some defensive programming to work around a lame implicit Python string-formatting behavior. ------------------------------------------------------------------------ r27193 | jim | 2004-08-20 15:26:57 -0400 (Fri, 20 Aug 2004) | 2 lines Removed unneeded removeAllProxies call ------------------------------------------------------------------------ r27192 | jim | 2004-08-20 15:26:55 -0400 (Fri, 20 Aug 2004) | 3 lines Fixed a problem with the security dclarations to make calling removeAllProxies unnecessary. ------------------------------------------------------------------------ r27191 | jim | 2004-08-20 14:20:12 -0400 (Fri, 20 Aug 2004) | 2 lines Removed unneeded removeAllProxies calls. ------------------------------------------------------------------------ r27190 | jim | 2004-08-20 14:20:07 -0400 (Fri, 20 Aug 2004) | 2 lines Converted removeAllProxies calls to the prefered removeSecurityProxy. ------------------------------------------------------------------------ r27189 | jim | 2004-08-20 13:02:06 -0400 (Fri, 20 Aug 2004) | 6 lines Added "trusted" option for defining trusted subscribers. Deprecated zope.security.trustedRemoveSecurityProxy and zope.security.getProxiedObject. Use zope.security.removeSecurityProxy instead. (This should also be used rather than removeAllProxies.) ------------------------------------------------------------------------ r27188 | jim | 2004-08-20 13:02:03 -0400 (Fri, 20 Aug 2004) | 4 lines Deprecated zope.security.trustedRemoveSecurityProxy and zope.security.getProxiedObject. Use zope.security.removeSecurityProxy instead. (This should also be used rather than removeAllProxies.) Also converted additional removeAllProxies calls to the prefered removeSecurityProxy. (These were on the trunk, but not the branch.)
Merged from ZopeX3-3.0 branch: r27118 | jim | 2004-08-13 14:04:39 -0400 (Fri, 13 Aug 2004) | 3 lines Now give adapted factories the __module__ and __name__ of the originals, so as to make apidoc happy.
Added TrustedAdapterFactory This is for adapters that are trusted and need unfettered access to the objects they adapt. If asked to adapt security-proxied objects, the return security-proxied adapters of unproxied objects.
|
webmaster@zope.org Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |