Zope Subversion Repository

  Zope

Zope: zope.security/trunk/src/zope/security/adapter.py


No default branch

Revision 113056 - (view) (download) (as text) - [select for diffs]
Modified Thu Jun 3 17:34:32 2010 UTC (2 years, 11 months ago) by tseaver
File length: 4802 byte(s)
Diff to previous 112046 , to selected 27237
Remove CVS-era Id fossils.

Revision 112046 - (view) (download) (as text) - [select for diffs]
Modified Wed May 5 19:21:19 2010 UTC (3 years ago) by tseaver
File length: 4808 byte(s)
Diff to previous 75174 , to selected 27237
Conform to repository policy.

Revision 75174 - (view) (download) (as text) - [select for diffs]
Modified Thu May 3 22:29:32 2007 UTC (6 years ago) by ctheune
File length: 4809 byte(s)
Diff to previous 73624 , to selected 27237
Moving code to satellite.

Filename: Zope3/trunk/src/zope/security/adapter.py
Revision 73624 - (view) (download) (as text) - [select for diffs]
Modified Mon Mar 26 12:50:23 2007 UTC (6 years, 2 months ago) by dobe
File length: 4809 byte(s)
Diff to previous 67630 , to selected 27237
clean imports

Filename: Zope3/trunk/src/zope/security/adapter.py
Revision 67630 - (view) (download) (as text) - [select for diffs]
Modified Thu Apr 27 00:54:03 2006 UTC (7 years ago) by jim
File length: 4819 byte(s)
Copied from: Zope3/branches/jim-adapter/src/zope/security/adapter.py revision 67629
Diff to previous 66817 , to selected 27237
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.


Filename: Zope3/branches/jim-adapter/src/zope/security/adapter.py
Revision 66817 - (view) (download) (as text) - [select for diffs]
Modified Mon Apr 10 21:21:51 2006 UTC (7 years, 1 month ago) by philikon
File length: 4819 byte(s)
Copied from: Zope3/branches/jim-adapter/src/zope/app/security/adapter.py revision 66723
Diff to previous 66539 , to selected 27237
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.

Filename: Zope3/branches/jim-adapter/src/zope/app/security/adapter.py
Revision 66539 - (view) (download) (as text) - [select for diffs]
Modified Wed Apr 5 14:15:32 2006 UTC (7 years, 1 month ago) by philikon
File length: 4819 byte(s)
Diff to previous 66391 , to selected 27237
Adjust zope.app to the new import location of zope.app.location.

Filename: Zope3/branches/jim-adapter/src/zope/app/security/adapter.py
Revision 66391 - (view) (download) (as text) - [select for diffs]
Modified Tue Apr 4 15:00:50 2006 UTC (7 years, 1 month ago) by philikon
File length: 4824 byte(s)
Diff to previous 41617 , to selected 27237
Recreate jim-adapter branch

Filename: Zope3/trunk/src/zope/app/security/adapter.py
Revision 41617 - (view) (download) (as text) - [select for diffs]
Modified Mon Feb 13 18:15:11 2006 UTC (7 years, 3 months ago) by niemeyer
File length: 4824 byte(s)
Diff to previous 40009 , to selected 27237
Fixing app.security.adapter.assertLocation doc string. The
implemented logic is the other way around (too much negation
does that ;-).

Filename: Zope3/trunk/src/zope/app/security/adapter.py
Revision 40009 - (view) (download) (as text) - [select for diffs]
Modified Wed Nov 9 19:56:21 2005 UTC (7 years, 6 months ago) by srichter
File length: 4823 byte(s)
Diff to previous 30480 , to selected 27237
Whitespace fixups.

Filename: Zope3/trunk/src/zope/app/security/adapter.py
Revision 30480 - (view) (download) (as text) - [select for diffs]
Modified Mon May 23 09:50:12 2005 UTC (8 years ago) by dominikhuber
File length: 4829 byte(s)
Diff to previous 28654 , to selected 27237
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

Filename: Zope3/trunk/src/zope/app/security/adapter.py
Revision 28654 - (view) (download) (as text) - [select for diffs]
Modified Mon Dec 20 21:13:50 2004 UTC (8 years, 5 months ago) by gintautasm
File length: 4384 byte(s)
Diff to previous 27237
Lots of typo fixes and cosmetic touches.

Filename: Zope3/trunk/src/zope/app/security/adapter.py
Revision 27237 - (view) (download) (as text) - [selected]
Modified Mon Aug 23 23:42:11 2004 UTC (8 years, 9 months ago) by jim
File length: 4383 byte(s)
Diff to previous 27133
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.)



Filename: Zope3/trunk/src/zope/app/security/adapter.py
Revision 27133 - (view) (download) (as text) - [select for diffs]
Modified Fri Aug 13 20:32:40 2004 UTC (8 years, 9 months ago) by jim
File length: 4355 byte(s)
Diff to previous 26363 , to selected 27237
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.

Filename: Zope3/trunk/src/zope/app/security/adapter.py
Revision 26363 - (view) (download) (as text) - [select for diffs]
Added Fri Jul 9 19:28:16 2004 UTC (8 years, 10 months ago) by jim
File length: 4127 byte(s)
Diff to selected 27237
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.

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

  Diffs between and
  Type of Diff should be a

Sort log by:

webmaster@zope.org

Powered by ViewCVS 1.0-dev
(Powered by Apache)

ViewCVS and CVS Help