Zope Subversion Repository |
|
Zope: zope.security/trunk/src/zope/security/interfaces.py
No default branch
Revision 125980
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Thu May 17 21:22:20 2012 UTC (12 months ago) by tseaver
File length: 9648 byte(s)
Diff to previous 113056
,
to selected 10409
Drop support for Python 2.4 and 2.5.
Replace deprecated 'zope.component.adapts' usage with equivalent
'zope.component.adapter' decorator.
Replace deprecated 'zope.interface.classProvides' usage with equivalent
'zope.interface.provider' decorator.
Replace deprecated 'zope.interface.implements' usage with equivalent
'zope.interface.implementer' decorator.
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: 9653 byte(s)
Diff to previous 112046
,
to selected 10409
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: 9659 byte(s)
Diff to previous 95326
,
to selected 10409
Conform to repository policy.
Revision 95326
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Wed Jan 28 15:11:49 2009 UTC (4 years, 3 months ago) by brandon_rhodes
File length: 9660 byte(s)
Diff to previous 77027
,
to selected 10409
Moved the <class> directive implementation from `zope.app.component` to
this package.
Revision 77027
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Mon Jun 25 05:06:01 2007 UTC (5 years, 10 months ago) by hdima
File length: 9678 byte(s)
Diff to previous 75174
,
to selected 10409
Inherit IUnauthorized and IForbidden from IException instead of just Interface
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: 9664 byte(s)
Diff to previous 73624
,
to selected 10409
Moving code to satellite.
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 73624
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Mon Mar 26 12:50:23 2007 UTC (6 years, 1 month ago) by dobe
File length: 9664 byte(s)
Diff to previous 70211
,
to selected 10409
clean imports
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 70211
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Sun Sep 17 14:45:07 2006 UTC (6 years, 8 months ago) by flox
File length: 9670 byte(s)
Diff to previous 41374
,
to selected 10409
Remove some deprecated aliases.
Remove some deprecated methods.
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 41374
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Fri Jan 20 04:19:08 2006 UTC (7 years, 3 months ago) by poster
File length: 9691 byte(s)
Diff to previous 28951
,
to selected 10409
Commit changes to implement the following proposals:
http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/AllowContainedNonUtilityPluggableAuthenticationUtilityPlugins
http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/FireEventsWhenPrincipalsAreAddedToAndRemovedFromGroupFolders
http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/DefineInterfaceForGettingFullClosureOfAPrincipalsGroupsImplementInPAU
http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/DefineInterfaceForGettingAGroupsMembersImplementInPAU
Includes a new zope.app generation to evolve legacy databases.
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 28951
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Tue Jan 25 03:19:31 2005 UTC (8 years, 3 months ago) by poster
File length: 9257 byte(s)
Diff to previous 28949
,
to selected 10409
Documentation specification: clarify that the check* methods on the checker should only raise Forbidden or Unauthorized.
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 28949
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Mon Jan 24 23:05:03 2005 UTC (8 years, 3 months ago) by jim
File length: 9064 byte(s)
Diff to previous 28310
,
to selected 10409
Added IGroup marker interface for identifying groups.
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 28310
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Mon Nov 1 19:03:54 2004 UTC (8 years, 6 months ago) by jim
File length: 9003 byte(s)
Diff to previous 28170
,
to selected 10409
Removed IGroup (we don't need it at this level) and changed the
documentation of the groups attribute to ay it holds group ids, not
groups.
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 28170
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Thu Oct 14 12:25:29 2004 UTC (8 years, 7 months ago) by mriya3
File length: 9653 byte(s)
Diff to previous 28088
,
to selected 10409
Added IGroupAwarePrincipal interface.
Removed unneeded test for Groups.
Removed unneeded subscriber.
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 28088
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Wed Oct 13 14:53:58 2004 UTC (8 years, 7 months ago) by srichter
File length: 9849 byte(s)
Diff to previous 28077
,
to selected 10409
Make groups items a text line.
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 28077
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Wed Oct 13 13:30:21 2004 UTC (8 years, 7 months ago) by mriya3
File length: 9818 byte(s)
Diff to previous 26793
,
to selected 10409
Moved IPrincipal, IPermission to zope.security.interface
Added the IGroup interface to zope.security.interface
Added groups attribute to IPrincipal
Created IGroupsfolder interface in zope.app.groupscontainer.interfaces that manages groups and groups <-> principals mappings
Added subscriber for IPrincipalCreatedEvent that assigns groups to newly created principals
Added subscriber for IGroupChangedEvent to update principals' group assignments when group information is changed
sprinting with Claudia Albisetti
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 26793
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Tue Jul 27 14:53:35 2004 UTC (8 years, 9 months ago) by jim
File length: 6868 byte(s)
Diff to previous 26787
,
to selected 10409
Removed use of ZopeError as base for Forbidden and Unauthorized.
This was causing a circular import problem. I see no point in
ZopeError and plan to get rid of it.
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 26787
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Tue Jul 27 14:00:42 2004 UTC (8 years, 9 months ago) by jim
File length: 6947 byte(s)
Diff to previous 26591
,
to selected 10409
Moved forbidden and unauthorized exception definitions to
zope.security.interfaces.
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 26591
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Fri Jul 16 19:51:26 2004 UTC (8 years, 10 months ago) by jim
File length: 6235 byte(s)
Diff to previous 26454
,
to selected 10409
Rearranged the security apis, largely combining security policies and
interactions. Now security policies are just interaction factories --
usually just the interaction class.
See:
http://mail.zope.org/pipermail/zope3-dev/2004-July/011656.html
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 26454
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Tue Jul 13 16:28:46 2004 UTC (8 years, 10 months ago) by srichter
File length: 6365 byte(s)
Diff to previous 25949
,
to selected 10409
Converted XXX to TODO.
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 25949
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Tue Jun 22 22:40:23 2004 UTC (8 years, 10 months ago) by jim
File length: 6359 byte(s)
Diff to previous 25177
,
to selected 10409
Shameless hack to increase security checking performance
It is much faster to call operators, especially from C, than it is to
call methods. Now if a checker implements __setitem__, it will be
called rather than check or check_getattr. Similarly, if a checker
implements __getitem__, it will be called rather than proxy. Yes, this
is an egregious hack, but it does yield a significant speedup and is
thus worth it. Hopefully, it is well marked.
This change reduces the time required to display a sample contents
page by about 5%. This percentage will increase as other
optimizations are made and things get faster.
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 25177
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Wed Jun 2 13:17:31 2004 UTC (8 years, 11 months ago) by jim
File length: 5387 byte(s)
Diff to previous 24749
,
to selected 10409
Updated to use ZPL 2.1.
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 24749
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Sun May 16 13:00:21 2004 UTC (9 years ago) by philikon
File length: 5387 byte(s)
Diff to previous 24649
,
to selected 10409
Tell subversion to expand the Id keyword:
- replaced old CVS expansion with a clean $Id$
- set the svn:keywords property to "Id"
When you check-in files in the future and want $Id$ to be expanded,
make sure it reads "$Id$" in that file; then set svn:keywords to "Id".
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 24649
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Fri May 14 13:45:49 2004 UTC (9 years ago) by mgedmin
File length: 5442 byte(s)
Diff to previous 24646
,
to selected 10409
Renamed getInteraction to queryInteraction.
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 24646
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Fri May 14 13:17:37 2004 UTC (9 years ago) by mgedmin
File length: 5516 byte(s)
Diff to previous 24642
,
to selected 10409
Changed endInteraction not to throw when there is no active interaction.
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 24642
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Fri May 14 10:45:25 2004 UTC (9 years ago) by mgedmin
File length: 5313 byte(s)
Diff to previous 13888
,
to selected 10409
Merged Zope3/branches/mgedmin-security 24595:24640
This is UnificationOfRequestsAndSecurityContextsThroughUse:
- Security managers and security contexts are gone.
- Interactions and participations replace them.
- BaseRequest is now IParticipation.
- request.user was renamed to request.principal because of the above.
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 13888
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Tue May 11 18:24:59 2004 UTC (9 years ago) by root
File length: 6055 byte(s)
Diff to previous 12673
,
to selected 10409
Set mime-type or svn-eol property from cvs expansion data
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 12673
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Fri Feb 20 20:44:23 2004 UTC (9 years, 2 months ago) by srichter
File length: 6055 byte(s)
Diff to previous 10409
Improved doc strings.
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 10409
-
(view)
(download)
(as text)
- [selected]
Modified
Thu Jun 5 11:45:03 2003 UTC (9 years, 11 months ago) by mgedmin
File length: 6055 byte(s)
Diff to previous 9253
Documented the behavior of CombinedChecker explicitly. Fixed a bug where
CombinedChecker could raise a ForbiddenAttribute instead of Unauthorized.
Documented Checker.permission_id and setattr_permission_id in an interface
(INameBasedChecker).
Remove the dependency on permission_id/setattr_permission_id from
CheckerLoggingMixin. I do not think anyone cares about the distinction of
'Public' and 'Granted' when debugging checkers.
Make CombinedChecker log things when ZOPE_WATCH_CHECKERS is set.
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 9253
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Thu Mar 13 16:28:17 2003 UTC (10 years, 2 months ago) by alga
File length: 5580 byte(s)
Diff to previous 9088
,
to selected 10409
Made SecurityManager.getPrincipal() return a Principal object wrapped
in a context of its AuthenticationService.
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 9088
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Tue Feb 11 16:00:10 2003 UTC (10 years, 3 months ago) by sidnei
File length: 5495 byte(s)
Diff to previous 9040
,
to selected 10409
Merging paris-copypasterename-branch. Not very fun :(
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 9040
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Wed Feb 5 11:38:00 2003 UTC (10 years, 3 months ago) by stevea
File length: 5495 byte(s)
Diff to previous 8706
,
to selected 10409
whitespace
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 8706
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Tue Dec 31 18:39:49 2002 UTC (10 years, 4 months ago) by jeremy
File length: 5499 byte(s)
Diff to previous 8532
,
to selected 10409
Partial docstring normalization.
Filename: Zope3/trunk/src/zope/security/interfaces.py
Revision 8532
-
(view)
(download)
(as text)
- [select for diffs]
Added
Wed Dec 25 14:15:36 2002 UTC (10 years, 4 months ago) by jim
File length: 5911 byte(s)
Diff
to selected 10409
Grand renaming:
- Renamed most files (especially python modules) to lower case.
- Moved views and interfaces into separate hierarchies within each
project, where each top-level directory under the zope package
is a separate project.
- Moved everything to src from lib/python.
lib/python will eventually go away. I need access to the cvs
repository to make this happen, however.
There are probably some bits that are broken. All tests pass
and zope runs, but I haven't tried everything. There are a number
of cleanups I'll work on tomorrow.
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.