[Checkins] [zopefoundation/zope.app.security] 8f8a08: Assert location for all adapters that require any ...
GitHub
noreply at github.com
Tue Mar 12 13:28:54 UTC 2013
Branch: refs/heads/monolithic-zope3-dominik-locatableadapters
Home: https://github.com/zopefoundation/zope.app.security
Commit: 8f8a086aa987aaa82a55dee5b3935ebcb0bf51cd
https://github.com/zopefoundation/zope.app.security/commit/8f8a086aa987aaa82a55dee5b3935ebcb0bf51cd
Author: Dominik Huber <dominik.huber at ideell.ch>
Date: 2005-04-14 (Thu, 14 Apr 2005)
Changed paths:
A adapter.py
Log Message:
-----------
Assert location for all adapters that require any dedicated permission:
If the permission attribute is used in the adapter directive and the permission is not zope.Public, then:
If the adapter doesn't provide ILocation, we location
proxy it and set the parent.
If the adapter does provide ILocation and it's __parent__
is None, we set the __parent__.
TODO:
I do not unterstand three tests inside zope.app.component.tests.test_directives.
I've got pickable errors within zope.app.intid's
functional tests. As a workaround I derive
zope.app.keyreference.persistent.KeyReferenceToPersistent
from location.
I marked those issues with
# TODO: I do not understand that test
Commit: ebb2e8b4cc6150c9d86f28f199edf872f965a6fb
https://github.com/zopefoundation/zope.app.security/commit/ebb2e8b4cc6150c9d86f28f199edf872f965a6fb
Author: Dominik Huber <dominik.huber at ideell.ch>
Date: 2005-04-20 (Wed, 20 Apr 2005)
Changed paths:
M adapter.py
Log Message:
-----------
revert keyrefence and intid changes
add additional locating trusted adapter factory
todo:
- how to handle null adapters?
- implementation is pretty implicit
Commit: 41652fe2e87748cbd04d5e665d1776f46bdb12f7
https://github.com/zopefoundation/zope.app.security/commit/41652fe2e87748cbd04d5e665d1776f46bdb12f7
Author: Dominik Huber <dominik.huber at ideell.ch>
Date: 2005-04-20 (Wed, 20 Apr 2005)
Changed paths:
M adapter.py
Log Message:
-----------
revert to the first implementation concept:
trusted adapters provide always a location.
untrusted adapters provide a location unless
its factories are public.
if an adapter does not provide ILocation itself
it gets location-proxied. such an adapter is
not directly pickable because location proxies
are not pickable. if you use pickalbe adapters
they should provide ILocation.
Commit: 8ecb2d164fc9ef30e109f7aed498e9d00a406e9c
https://github.com/zopefoundation/zope.app.security/commit/8ecb2d164fc9ef30e109f7aed498e9d00a406e9c
Author: Dominik Huber <dominik.huber at ideell.ch>
Date: 2005-04-20 (Wed, 20 Apr 2005)
Changed paths:
M adapter.py
Log Message:
-----------
Only use a location proxy if the trusted adapter is protected and does not provide ILocation.
Commit: d10b327ed8594110cdd107c0ddf152dcd3119d52
https://github.com/zopefoundation/zope.app.security/commit/d10b327ed8594110cdd107c0ddf152dcd3119d52
Author: Dominik Huber <dominik.huber at ideell.ch>
Date: 2005-05-02 (Mon, 02 May 2005)
Changed paths:
A _protections.py
A _protections.zcml
Log Message:
-----------
merge trunk into branch (from 29979 to 30223)
Commit: 946f50b1e243772ac05989f34e8077de95083120
https://github.com/zopefoundation/zope.app.security/commit/946f50b1e243772ac05989f34e8077de95083120
Author: Dominik Huber <dominik.huber at ideell.ch>
Date: 2005-05-02 (Mon, 02 May 2005)
Changed paths:
M adapter.py
A adapter.txt
A tests/test_adapter.py
Log Message:
-----------
clean up code:
- remove unused classes
- move tests to adapter.txt
Compare: https://github.com/zopefoundation/zope.app.security/compare/8f8a086aa987^...946f50b1e243
More information about the checkins
mailing list