Zope Subversion Repository |
|
Zope: zope.security/trunk/src/zope/security/management.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: 4396 byte(s)
Diff to previous 112046
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: 4402 byte(s)
Diff to previous 97708
Conform to repository policy.
Revision 97708
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Mon Mar 9 16:10:49 2009 UTC (4 years, 2 months ago) by nadako
File length: 4403 byte(s)
Diff to previous 97524
Change use of zope.deferredimport to from imports.
Revision 97524
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Thu Mar 5 11:36:32 2009 UTC (4 years, 2 months ago) by nadako
File length: 4455 byte(s)
Diff to previous 84434
Raise NoInteraction when zope.security.checkPermission is called without interaction being active (LP #301565).
Revision 84434
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Mon Mar 3 06:06:21 2008 UTC (5 years, 2 months ago) by baijum
File length: 4350 byte(s)
Diff to previous 78815
Remove unused import
Revision 78815
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Tue Aug 14 17:52:16 2007 UTC (5 years, 9 months ago) by jim
File length: 4369 byte(s)
Diff to previous 76719
Fixed bug:
The special system_user object wasn't actually a user (principal).
Also cleaned up some circular import issues.
Revision 76719
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Sat Jun 16 08:47:53 2007 UTC (5 years, 11 months ago) by jukart
File length: 4538 byte(s)
Diff to previous 76706
Removed unused import
Revision 76706
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Fri Jun 15 09:23:06 2007 UTC (5 years, 11 months ago) by jukart
File length: 4556 byte(s)
Diff to previous 76554
Removed stack extraction in newInteraction. When using eggs this is an
extremly expensive function. The publisher is now more than 10 times faster
when using eggs and about twice as fast with a zope trunk checkout.
Revision 76554
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Sun Jun 10 09:58:08 2007 UTC (5 years, 11 months ago) by ctheune
File length: 4773 byte(s)
Diff to previous 75174
Provided a temporary fix for a hidden (and accidental) dependency of the
actual code to need zope.testing. I'll report a bug in a second that this
needs to be seriously fixed in a different way IMHO.
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: 4496 byte(s)
Diff to previous 73503
Moving code to satellite.
Filename: Zope3/trunk/src/zope/security/management.py
Revision 73503
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Sat Mar 24 15:04:22 2007 UTC (6 years, 1 month ago) by dobe
File length: 4496 byte(s)
Diff to previous 40098
conditional imports, specific deps
Filename: Zope3/trunk/src/zope/security/management.py
Revision 40098
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Mon Nov 14 19:14:00 2005 UTC (7 years, 6 months ago) by poster
File length: 4449 byte(s)
Diff to previous 26753
Make end/restore interaction a bit more careful. Expand tests to cover restore generally and this case specifically.
Filename: Zope3/trunk/src/zope/security/management.py
Revision 26753
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Mon Jul 26 07:28:05 2004 UTC (8 years, 9 months ago) by hdima
File length: 3957 byte(s)
Diff to previous 26683
Now checkPermission is truly guaranteed to return True if
permission is CheckerPublic or None.
Filename: Zope3/trunk/src/zope/security/management.py
Revision 26683
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Thu Jul 22 16:33:27 2004 UTC (8 years, 9 months ago) by jim
File length: 3831 byte(s)
Diff to previous 26591
Added a debugging api to restore the last interaction.
This is helpful when doing post-mortem debugging, since the
interaction has been cleared.
Filename: Zope3/trunk/src/zope/security/management.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: 3661 byte(s)
Diff to previous 26023
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/management.py
Revision 26023
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Thu Jul 1 19:05:30 2004 UTC (8 years, 10 months ago) by jim
File length: 2802 byte(s)
Diff to previous 25177
Implemented a thread-local data proposal
Proposed for Python 2.4 on python-dev:
http://mail.python.org/pipermail/python-dev/2004-June/045785.html
This mechanism replaces the previous "thread globals"
mechanism.
Filename: Zope3/trunk/src/zope/security/management.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: 2905 byte(s)
Diff to previous 24749
Updated to use ZPL 2.1.
Filename: Zope3/trunk/src/zope/security/management.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: 2905 byte(s)
Diff to previous 24649
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/management.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: 2960 byte(s)
Diff to previous 24646
Renamed getInteraction to queryInteraction.
Filename: Zope3/trunk/src/zope/security/management.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: 2954 byte(s)
Diff to previous 24642
Changed endInteraction not to throw when there is no active interaction.
Filename: Zope3/trunk/src/zope/security/management.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: 3118 byte(s)
Diff to previous 13888
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/management.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: 2760 byte(s)
Diff to previous 12673
Set mime-type or svn-eol property from cvs expansion data
Filename: Zope3/trunk/src/zope/security/management.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: 2760 byte(s)
Diff to previous 10311
Improved doc strings.
Filename: Zope3/trunk/src/zope/security/management.py
Revision 10311
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Mon Jun 2 14:31:48 2003 UTC (9 years, 11 months ago) by stevea
File length: 2758 byte(s)
Diff to previous 9716
split a long line
Filename: Zope3/trunk/src/zope/security/management.py
Revision 9716
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Fri Apr 18 22:12:34 2003 UTC (10 years, 1 month ago) by jim
File length: 2719 byte(s)
Diff to previous 9146
In prepration for the upcoming interface changes, I added some
new functions for making interface assertions on instances.
Rather than:
class C:
__class_implements__ = I1, I2
use:
class C:
classProvides(I1, I2)
rather than:
__implements__ = I1, I2
use:
moduleProvides(I1, I2)
rather than:
someinstance.__implements__ = I1, I2
use:
directlyProvides(I1, I2)
Note that interface assertions on persistent objects should be aboided
since the internal representation will change.
Continue to make assertions about the interfaces that class instances
implement the same way:
class C:
__implements__ = I1, I2
I also modified the core software to use the new spellings.
Filename: Zope3/trunk/src/zope/security/management.py
Revision 9146
-
(view)
(download)
(as text)
- [select for diffs]
Modified
Tue Feb 25 10:23:24 2003 UTC (10 years, 2 months ago) by alga
File length: 2681 byte(s)
Diff to previous 8683
Reformatted the code to adhere to the Zope3 coding standards.
Filename: Zope3/trunk/src/zope/security/management.py
Revision 8683
-
(view)
(download)
(as text)
- [select for diffs]
Added
Tue Dec 31 03:35:15 2002 UTC (10 years, 4 months ago) by jim
File length: 2685 byte(s)
More renaming.
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.