[Checkins] SVN: zope.app.security/tags/3.7.0/ Tag 3.7.0

Dan Korostelev nadako at gmail.com
Fri Mar 13 20:17:48 EDT 2009


Log message for revision 98077:
  Tag 3.7.0

Changed:
  A   zope.app.security/tags/3.7.0/
  D   zope.app.security/tags/3.7.0/CHANGES.txt
  A   zope.app.security/tags/3.7.0/CHANGES.txt
  D   zope.app.security/tags/3.7.0/README.txt
  A   zope.app.security/tags/3.7.0/README.txt
  D   zope.app.security/tags/3.7.0/buildout.cfg
  A   zope.app.security/tags/3.7.0/buildout.cfg
  D   zope.app.security/tags/3.7.0/setup.py
  A   zope.app.security/tags/3.7.0/setup.py
  D   zope.app.security/tags/3.7.0/src/zope/app/security/browser/configure.zcml
  A   zope.app.security/tags/3.7.0/src/zope/app/security/browser/configure.zcml
  D   zope.app.security/tags/3.7.0/src/zope/app/security/browser/localpermission.zcml
  D   zope.app.security/tags/3.7.0/src/zope/app/security/configure.zcml
  A   zope.app.security/tags/3.7.0/src/zope/app/security/configure.zcml
  D   zope.app.security/tags/3.7.0/src/zope/app/security/permission.py
  A   zope.app.security/tags/3.7.0/src/zope/app/security/permission.py
  D   zope.app.security/tags/3.7.0/src/zope/app/security/tests/test_permission.py
  A   zope.app.security/tags/3.7.0/src/zope/app/security/tests/test_permission.py

-=-
Deleted: zope.app.security/tags/3.7.0/CHANGES.txt
===================================================================
--- zope.app.security/trunk/CHANGES.txt	2009-03-13 21:33:03 UTC (rev 98057)
+++ zope.app.security/tags/3.7.0/CHANGES.txt	2009-03-14 00:17:48 UTC (rev 98077)
@@ -1,133 +0,0 @@
-=======
-CHANGES
-=======
-
-3.7.0 (unreleased)
-------------------
-
-- All interfaces, as well as some authentication-related helper classes and
-  functions (checkPrincipal, PrincipalSource, PrincipalTerms, etc.) were moved
-  into the new ``zope.authentication`` package. Backward-compatibility imports
-  are provided.
-
-- The "global principal registry" along with its zcml directives was moved into
-  new "zope.principalregistry" package. Backward-compatibility imports are
-  provided.
-
-- The IPrincipal -> zope.publisher.interfaces.logginginfo.ILoggingInfo
-  adapter was moved to ``zope.publisher``. Backward-compatibility import
-  is provided.
-
-- The PermissionsVocabulary and PermissionIdsVocabulary has been moved
-  to the ``zope.security`` package. Backward-compatibility imports are
-  provided.
-
-- The registration of the "zope.Public" permission as well as some other
-  common permissions, like "zope.View" have been moved to ``zope.security``.
-  Its configure.zcml is now included by this package.
-
-- The "protect" function is now a no-op and is not needed anymore, because
-  zope.security now knows about i18n messages and __name__ and __parent__
-  attributes and won't protect them by default.
-
-- The addCheckerPublic was moved from zope.app.security.tests to
-  zope.security.testing. Backward-compatibility import is provided.
-
-- The ``LocalPermission`` class is now moved to new ``zope.localpermission``
-  package. This package now only has backward-compatibility imports and browser
-  views and menu items for ZMI.
-
-- The browser views and menu item for ``LocalPermission`` was moved into a
-  separate `browser/localpermission.zcml` file that is included by
-  `browser/configure.zcml`. This adds a possibility to exclude ZMI-related
-  configuration for local permissions.
-
-- Cleanup dependencies after refactorings. Also, don't depend on
-  zope.app.testing for tests anymore.
-  
-- Update package's description to point about refactorings done.
-
-3.6.2 (2009-03-10)
-------------------
-
-- The `Allow`, `Deny` and `Unset` permission settings was preferred to
-  be imported from ``zope.securitypolicy.interfaces`` for a long time
-  and now they are completely moved there from ``zope.app.security.settings``
-  as well as the ``PermissionSetting`` class. The only thing left for
-  backward compatibility is the import of Allow/Unset/Deny constants if
-  ``zope.securitypolicy`` is installed to allow unpickling of security
-  settings.
-
-3.6.1 (2009-03-09)
-------------------
-
-- Depend on new ``zope.password`` package instead of ``zope.app.authentication``
-  to get password managers for the authentication utility, thus remove
-  dependency on ``zope.app.authentication``.
-
-- Use template for AuthUtilitySearchView instead of ugly HTML
-  constructing in the python code.
-
-- Bug: The `sha` and `md5` modules has been deprecated in Python 2.6.
-  Whenever the ZCML of this package was included when using Python 2.6,
-  a deprecation warning had been raised stating that `md5` and `sha` have
-  been deprecated. Provided a simple condition to check whether Python 2.6
-  or later is installed by checking for the presense of `json` module
-  thas was added only in Python 2.6 and thus optionally load the security
-  declaration for `md5` and `sha`.
-
-- Remove deprecated code, thus removing explicit dependency on
-  zope.deprecation and zope.deferredimport.
-
-- Cleanup code a bit, replace old __used_for__ statements by ``adapts``
-  calls.
-
-3.6.0 (2009-01-31)
-------------------
-
-- Changed mailing list address to zope-dev at zope.org, because
-  zope3-dev is retired now. Changed "cheeseshop" to "pypi" in
-  the package homepage.
-
-- Moved the `protectclass` module to `zope.security` leaving only a
-  compatibility module here that imports from the new location.
-
-- Moved the <module> directive implementation to `zope.security`.
-
-- Use `zope.container` instead of `zope.app.container`;.
-
-3.5.3 (2008-12-11)
-------------------
-
-- use zope.browser.interfaces.ITerms instead of
-  `zope.app.form.browser.interfaces`.
-
-3.5.2 (2008-07-31)
-------------------
-
-- Bug: It turned out that checking for regex was not much better of an
-  idea, since it causes deprecation warnings in Python 2.4. Thus let's
-  look for a library that was added in Python 2.5.
-
-3.5.1 (2008-06-24)
-------------------
-
-- Bug: The `gopherlib` module has been deprecated in Python 2.5. Whenever the
-  ZCML of this package was included when using Python 2.5, a deprecation
-  warning had been raised stating that `gopherlib` has been
-  deprecated. Provided a simple condition to check whether Python 2.5 or later
-  is installed by checking for the deleted `regex` module and thus optionally
-  load the security declaration for `gopherlib`.
-
-3.5.0 (2008-02-05)
-------------------
-
-- Feature:
-  `zope.app.security.principalregistry.PrincipalRegistry.getPrincipal` returns
-  `zope.security.management.system_user` when its id is used for the search
-  key.
-
-3.4.0 (2007-10-27)
-------------------
-
-- Initial release independent of the main Zope tree.

Copied: zope.app.security/tags/3.7.0/CHANGES.txt (from rev 98062, zope.app.security/trunk/CHANGES.txt)
===================================================================
--- zope.app.security/tags/3.7.0/CHANGES.txt	                        (rev 0)
+++ zope.app.security/tags/3.7.0/CHANGES.txt	2009-03-14 00:17:48 UTC (rev 98077)
@@ -0,0 +1,128 @@
+=======
+CHANGES
+=======
+
+3.7.0 (2009-03-14)
+------------------
+
+- All interfaces, as well as some authentication-related helper classes and
+  functions (checkPrincipal, PrincipalSource, PrincipalTerms, etc.) were moved
+  into the new ``zope.authentication`` package. Backward-compatibility imports
+  are provided.
+
+- The "global principal registry" along with its zcml directives was moved into
+  new "zope.principalregistry" package. Backward-compatibility imports are
+  provided.
+
+- The IPrincipal -> zope.publisher.interfaces.logginginfo.ILoggingInfo
+  adapter was moved to ``zope.publisher``. Backward-compatibility import
+  is provided.
+
+- The PermissionsVocabulary and PermissionIdsVocabulary has been moved
+  to the ``zope.security`` package. Backward-compatibility imports are
+  provided.
+
+- The registration of the "zope.Public" permission as well as some other
+  common permissions, like "zope.View" have been moved to ``zope.security``.
+  Its configure.zcml is now included by this package.
+
+- The "protect" function is now a no-op and is not needed anymore, because
+  zope.security now knows about i18n messages and __name__ and __parent__
+  attributes and won't protect them by default.
+
+- The addCheckerPublic was moved from zope.app.security.tests to
+  zope.security.testing. Backward-compatibility import is provided.
+
+- The ``LocalPermission`` class is now moved to new ``zope.app.localpermission``
+  package. This package now only has backward-compatibility imports and
+  zcml includes.
+
+- Cleanup dependencies after refactorings. Also, don't depend on
+  zope.app.testing for tests anymore.
+  
+- Update package's description to point about refactorings done.
+
+3.6.2 (2009-03-10)
+------------------
+
+- The `Allow`, `Deny` and `Unset` permission settings was preferred to
+  be imported from ``zope.securitypolicy.interfaces`` for a long time
+  and now they are completely moved there from ``zope.app.security.settings``
+  as well as the ``PermissionSetting`` class. The only thing left for
+  backward compatibility is the import of Allow/Unset/Deny constants if
+  ``zope.securitypolicy`` is installed to allow unpickling of security
+  settings.
+
+3.6.1 (2009-03-09)
+------------------
+
+- Depend on new ``zope.password`` package instead of ``zope.app.authentication``
+  to get password managers for the authentication utility, thus remove
+  dependency on ``zope.app.authentication``.
+
+- Use template for AuthUtilitySearchView instead of ugly HTML
+  constructing in the python code.
+
+- Bug: The `sha` and `md5` modules has been deprecated in Python 2.6.
+  Whenever the ZCML of this package was included when using Python 2.6,
+  a deprecation warning had been raised stating that `md5` and `sha` have
+  been deprecated. Provided a simple condition to check whether Python 2.6
+  or later is installed by checking for the presense of `json` module
+  thas was added only in Python 2.6 and thus optionally load the security
+  declaration for `md5` and `sha`.
+
+- Remove deprecated code, thus removing explicit dependency on
+  zope.deprecation and zope.deferredimport.
+
+- Cleanup code a bit, replace old __used_for__ statements by ``adapts``
+  calls.
+
+3.6.0 (2009-01-31)
+------------------
+
+- Changed mailing list address to zope-dev at zope.org, because
+  zope3-dev is retired now. Changed "cheeseshop" to "pypi" in
+  the package homepage.
+
+- Moved the `protectclass` module to `zope.security` leaving only a
+  compatibility module here that imports from the new location.
+
+- Moved the <module> directive implementation to `zope.security`.
+
+- Use `zope.container` instead of `zope.app.container`;.
+
+3.5.3 (2008-12-11)
+------------------
+
+- use zope.browser.interfaces.ITerms instead of
+  `zope.app.form.browser.interfaces`.
+
+3.5.2 (2008-07-31)
+------------------
+
+- Bug: It turned out that checking for regex was not much better of an
+  idea, since it causes deprecation warnings in Python 2.4. Thus let's
+  look for a library that was added in Python 2.5.
+
+3.5.1 (2008-06-24)
+------------------
+
+- Bug: The `gopherlib` module has been deprecated in Python 2.5. Whenever the
+  ZCML of this package was included when using Python 2.5, a deprecation
+  warning had been raised stating that `gopherlib` has been
+  deprecated. Provided a simple condition to check whether Python 2.5 or later
+  is installed by checking for the deleted `regex` module and thus optionally
+  load the security declaration for `gopherlib`.
+
+3.5.0 (2008-02-05)
+------------------
+
+- Feature:
+  `zope.app.security.principalregistry.PrincipalRegistry.getPrincipal` returns
+  `zope.security.management.system_user` when its id is used for the search
+  key.
+
+3.4.0 (2007-10-27)
+------------------
+
+- Initial release independent of the main Zope tree.

Deleted: zope.app.security/tags/3.7.0/README.txt
===================================================================
--- zope.app.security/trunk/README.txt	2009-03-13 21:33:03 UTC (rev 98057)
+++ zope.app.security/tags/3.7.0/README.txt	2009-03-14 00:17:48 UTC (rev 98077)
@@ -1,18 +0,0 @@
-This package provides ZMI browser views for Zope security components.
-
-It used to provide a large part of security functionality for Zope 3, but it was
-factored out from this package to several little packages to reduce dependencies
-and improve reusability.
-
-The functionality was splitted into these new packages:
-
- * zope.authentication - the IAuthentication interface and related utilities.
- * zope.principalregistry - the global principal registry and its zcml directives.
- * zope.localpermission - the LocalPermission class that implements persistent
-   permissions.
-
-The rest of functionality that were provided by this package is merged into
-``zope.security`` and ``zope.publisher``.
-
-Backward-compatibility imports are provided to ensure that older applications
-work. See CHANGES.txt for more info.

Copied: zope.app.security/tags/3.7.0/README.txt (from rev 98062, zope.app.security/trunk/README.txt)
===================================================================
--- zope.app.security/tags/3.7.0/README.txt	                        (rev 0)
+++ zope.app.security/tags/3.7.0/README.txt	2009-03-14 00:17:48 UTC (rev 98077)
@@ -0,0 +1,18 @@
+This package provides ZMI browser views for Zope security components.
+
+It used to provide a large part of security functionality for Zope 3, but it was
+factored out from this package to several little packages to reduce dependencies
+and improve reusability.
+
+The functionality was splitted into these new packages:
+
+ * zope.authentication - the IAuthentication interface and related utilities.
+ * zope.principalregistry - the global principal registry and its zcml directives.
+ * zope.app.localpermission - the LocalPermission class that implements
+   persistent permissions.
+
+The rest of functionality that were provided by this package is merged into
+``zope.security`` and ``zope.publisher``.
+
+Backward-compatibility imports are provided to ensure that older applications
+work. See CHANGES.txt for more info.

Deleted: zope.app.security/tags/3.7.0/buildout.cfg
===================================================================
--- zope.app.security/trunk/buildout.cfg	2009-03-13 21:33:03 UTC (rev 98057)
+++ zope.app.security/tags/3.7.0/buildout.cfg	2009-03-14 00:17:48 UTC (rev 98077)
@@ -1,24 +0,0 @@
-[buildout]
-parts = test coverage-test coverage-report
-develop =
-  .
-  ../zope.authentication
-  ../zope.localpermission
-  ../zope.principalregistry
-  ../zope.publisher
-  ../zope.security
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = zope.app.security
-
-[coverage-test]
-recipe = zc.recipe.testrunner
-eggs = zope.app.security
-defaults = ['--coverage', '../../coverage']
-
-[coverage-report]
-recipe = zc.recipe.egg
-eggs = z3c.coverage
-scripts = coverage=coverage-report
-arguments = ('coverage', 'coverage/report')

Copied: zope.app.security/tags/3.7.0/buildout.cfg (from rev 98076, zope.app.security/trunk/buildout.cfg)
===================================================================
--- zope.app.security/tags/3.7.0/buildout.cfg	                        (rev 0)
+++ zope.app.security/tags/3.7.0/buildout.cfg	2009-03-14 00:17:48 UTC (rev 98077)
@@ -0,0 +1,18 @@
+[buildout]
+parts = test coverage-test coverage-report
+develop = .
+
+[test]
+recipe = zc.recipe.testrunner
+eggs = zope.app.security
+
+[coverage-test]
+recipe = zc.recipe.testrunner
+eggs = zope.app.security
+defaults = ['--coverage', '../../coverage']
+
+[coverage-report]
+recipe = zc.recipe.egg
+eggs = z3c.coverage
+scripts = coverage=coverage-report
+arguments = ('coverage', 'coverage/report')

Deleted: zope.app.security/tags/3.7.0/setup.py
===================================================================
--- zope.app.security/trunk/setup.py	2009-03-13 21:33:03 UTC (rev 98057)
+++ zope.app.security/tags/3.7.0/setup.py	2009-03-14 00:17:48 UTC (rev 98077)
@@ -1,75 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2006 Zope Corporation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""Setup for zope.app.security package
-
-$Id$
-"""
-import os
-from setuptools import setup, find_packages
-
-def read(*rnames):
-    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-
-setup(name='zope.app.security',
-      version = '3.7.0dev',
-      author='Zope Corporation and Contributors',
-      author_email='zope-dev at zope.org',
-      description='ZMI Views For Zope3 Security Components',
-      long_description=(
-          read('README.txt')
-          + '\n\n' +
-          'Detailed Documentation\n' +
-          '======================\n'
-          + '\n\n' +
-          read('src', 'zope', 'app', 'security', 'browser',
-               'authutilitysearchview.txt')
-          + '\n\n' +
-          read('src', 'zope', 'app', 'security', 'browser', 'loginlogout.txt')
-          + '\n\n' +
-          read('CHANGES.txt')
-          ),
-      keywords = "zope security authentication principal ftp http",
-      classifiers = [
-          'Development Status :: 5 - Production/Stable',
-          'Environment :: Web Environment',
-          'Intended Audience :: Developers',
-          'License :: OSI Approved :: Zope Public License',
-          'Programming Language :: Python',
-          'Natural Language :: English',
-          'Operating System :: OS Independent',
-          'Topic :: Internet :: WWW/HTTP',
-          'Framework :: Zope3'],
-      url='http://pypi.python.org/pypi/zope.app.security',
-      license='ZPL 2.1',
-      packages=find_packages('src'),
-      package_dir = {'': 'src'},
-      namespace_packages=['zope', 'zope.app'],
-      install_requires=['setuptools',
-                        'zope.app.form',
-                        'zope.app.pagetemplate',
-                        'zope.app.publisher',
-                        'zope.authentication',
-                        'zope.component>=3.6.0',
-                        'zope.i18n',
-                        'zope.i18nmessageid',
-                        'zope.interface',
-                        'zope.localpermission',
-                        'zope.principalregistry',
-                        'zope.publisher',
-                        'zope.security',
-                        'ZODB3',
-                        ],
-      include_package_data = True,
-      zip_safe = False,
-      )

Copied: zope.app.security/tags/3.7.0/setup.py (from rev 98062, zope.app.security/trunk/setup.py)
===================================================================
--- zope.app.security/tags/3.7.0/setup.py	                        (rev 0)
+++ zope.app.security/tags/3.7.0/setup.py	2009-03-14 00:17:48 UTC (rev 98077)
@@ -0,0 +1,75 @@
+##############################################################################
+#
+# Copyright (c) 2006 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Setup for zope.app.security package
+
+$Id$
+"""
+import os
+from setuptools import setup, find_packages
+
+def read(*rnames):
+    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
+setup(name='zope.app.security',
+      version = '3.7.0',
+      author='Zope Corporation and Contributors',
+      author_email='zope-dev at zope.org',
+      description='ZMI Views For Zope3 Security Components',
+      long_description=(
+          read('README.txt')
+          + '\n\n' +
+          'Detailed Documentation\n' +
+          '======================\n'
+          + '\n\n' +
+          read('src', 'zope', 'app', 'security', 'browser',
+               'authutilitysearchview.txt')
+          + '\n\n' +
+          read('src', 'zope', 'app', 'security', 'browser', 'loginlogout.txt')
+          + '\n\n' +
+          read('CHANGES.txt')
+          ),
+      keywords = "zope security authentication principal ftp http",
+      classifiers = [
+          'Development Status :: 5 - Production/Stable',
+          'Environment :: Web Environment',
+          'Intended Audience :: Developers',
+          'License :: OSI Approved :: Zope Public License',
+          'Programming Language :: Python',
+          'Natural Language :: English',
+          'Operating System :: OS Independent',
+          'Topic :: Internet :: WWW/HTTP',
+          'Framework :: Zope3'],
+      url='http://pypi.python.org/pypi/zope.app.security',
+      license='ZPL 2.1',
+      packages=find_packages('src'),
+      package_dir = {'': 'src'},
+      namespace_packages=['zope', 'zope.app'],
+      install_requires=['setuptools',
+                        'zope.app.form',
+                        'zope.app.pagetemplate',
+                        'zope.app.publisher',
+                        'zope.app.localpermission',
+                        'zope.authentication',
+                        'zope.component>=3.6.0',
+                        'zope.i18n',
+                        'zope.i18nmessageid',
+                        'zope.interface',
+                        'zope.principalregistry',
+                        'zope.publisher',
+                        'zope.security',
+                        'ZODB3',
+                        ],
+      include_package_data = True,
+      zip_safe = False,
+      )

Deleted: zope.app.security/tags/3.7.0/src/zope/app/security/browser/configure.zcml
===================================================================
--- zope.app.security/trunk/src/zope/app/security/browser/configure.zcml	2009-03-13 21:33:03 UTC (rev 98057)
+++ zope.app.security/tags/3.7.0/src/zope/app/security/browser/configure.zcml	2009-03-14 00:17:48 UTC (rev 98077)
@@ -1,49 +0,0 @@
-<configure
-   xmlns="http://namespaces.zope.org/zope"
-   xmlns:browser="http://namespaces.zope.org/browser">
-
-
-  <adapter
-      for="zope.authentication.interfaces.IAuthentication
-           zope.publisher.interfaces.browser.IBrowserRequest"
-      provides="zope.app.form.browser.interfaces.ISourceQueryView"
-      factory="zope.app.security.browser.auth.AuthUtilitySearchView"
-      />
-
-  <browser:page
-      name="failsafelogin.html"
-      for="*"
-      class=".auth.HTTPBasicAuthenticationLogin"
-      attribute="login"
-      permission="zope.Public"
-      allowed_interface="zope.app.publisher.interfaces.http.ILogin"
-      />
-
-  <browser:page
-      name="login.html"
-      for="*"
-      class=".auth.HTTPAuthenticationLogin"
-      attribute="login"
-      permission="zope.Public"
-      allowed_interface="zope.app.publisher.interfaces.http.ILogin"
-      />
-
-  <browser:page
-      name="logout.html"
-      for="*"
-      class=".auth.HTTPAuthenticationLogout"
-      attribute="logout"
-      permission="zope.Public"
-      allowed_interface="zope.app.publisher.interfaces.http.ILogout"
-      />
-
-  <browser:page
-      name="login_logout"
-      for="*"
-      class=".auth.LoginLogout"
-      permission="zope.Public"
-      />
-
-  <include file="localpermission.zcml" />
-
-</configure>

Copied: zope.app.security/tags/3.7.0/src/zope/app/security/browser/configure.zcml (from rev 98062, zope.app.security/trunk/src/zope/app/security/browser/configure.zcml)
===================================================================
--- zope.app.security/tags/3.7.0/src/zope/app/security/browser/configure.zcml	                        (rev 0)
+++ zope.app.security/tags/3.7.0/src/zope/app/security/browser/configure.zcml	2009-03-14 00:17:48 UTC (rev 98077)
@@ -0,0 +1,49 @@
+<configure
+   xmlns="http://namespaces.zope.org/zope"
+   xmlns:browser="http://namespaces.zope.org/browser">
+
+
+  <adapter
+      for="zope.authentication.interfaces.IAuthentication
+           zope.publisher.interfaces.browser.IBrowserRequest"
+      provides="zope.app.form.browser.interfaces.ISourceQueryView"
+      factory="zope.app.security.browser.auth.AuthUtilitySearchView"
+      />
+
+  <browser:page
+      name="failsafelogin.html"
+      for="*"
+      class=".auth.HTTPBasicAuthenticationLogin"
+      attribute="login"
+      permission="zope.Public"
+      allowed_interface="zope.app.publisher.interfaces.http.ILogin"
+      />
+
+  <browser:page
+      name="login.html"
+      for="*"
+      class=".auth.HTTPAuthenticationLogin"
+      attribute="login"
+      permission="zope.Public"
+      allowed_interface="zope.app.publisher.interfaces.http.ILogin"
+      />
+
+  <browser:page
+      name="logout.html"
+      for="*"
+      class=".auth.HTTPAuthenticationLogout"
+      attribute="logout"
+      permission="zope.Public"
+      allowed_interface="zope.app.publisher.interfaces.http.ILogout"
+      />
+
+  <browser:page
+      name="login_logout"
+      for="*"
+      class=".auth.LoginLogout"
+      permission="zope.Public"
+      />
+
+  <include package="zope.app.localpermission" file="browser.zcml" />
+
+</configure>

Deleted: zope.app.security/tags/3.7.0/src/zope/app/security/browser/localpermission.zcml
===================================================================
--- zope.app.security/trunk/src/zope/app/security/browser/localpermission.zcml	2009-03-13 21:33:03 UTC (rev 98057)
+++ zope.app.security/tags/3.7.0/src/zope/app/security/browser/localpermission.zcml	2009-03-14 00:17:48 UTC (rev 98077)
@@ -1,29 +0,0 @@
-<configure
-   xmlns="http://namespaces.zope.org/zope"
-   xmlns:browser="http://namespaces.zope.org/browser">
-
-  <browser:addform
-     name="AddPermission.html"
-     schema="zope.security.interfaces.IPermission"
-     label="Add Permission"
-     content_factory="..permission.LocalPermission"
-     fields="title description"
-     permission="zope.Security"
-     />
-
- <browser:addMenuItem
-     title="Permission"
-     description="A Security Permission"
-     class="..permission.LocalPermission"
-     permission="zope.ManageServices"
-     view="AddPermission.html"
-     />
-
-  <browser:editform
-      schema="zope.security.interfaces.IPermission"
-      label="Edit Permission"
-      name="edit.html"
-      permission="zope.ManageServices"
-      menu="zmi_views" title="Edit" />
-
-</configure>

Deleted: zope.app.security/tags/3.7.0/src/zope/app/security/configure.zcml
===================================================================
--- zope.app.security/trunk/src/zope/app/security/configure.zcml	2009-03-13 21:33:03 UTC (rev 98057)
+++ zope.app.security/tags/3.7.0/src/zope/app/security/configure.zcml	2009-03-14 00:17:48 UTC (rev 98077)
@@ -1,15 +0,0 @@
-<configure
-    xmlns="http://namespaces.zope.org/zope"
-    i18n_domain="zope"
-    >
-
-  <include package="zope.security" />
-  <include package="zope.authentication" />
-  <include package="zope.principalregistry" />
-  <include package="zope.localpermission" />
-
-  <include file="globalmodules.zcml" />
-  <include file="_protections.zcml" />
-  <include file="standardpermissions.zcml" />
-
-</configure>

Copied: zope.app.security/tags/3.7.0/src/zope/app/security/configure.zcml (from rev 98062, zope.app.security/trunk/src/zope/app/security/configure.zcml)
===================================================================
--- zope.app.security/tags/3.7.0/src/zope/app/security/configure.zcml	                        (rev 0)
+++ zope.app.security/tags/3.7.0/src/zope/app/security/configure.zcml	2009-03-14 00:17:48 UTC (rev 98077)
@@ -0,0 +1,15 @@
+<configure
+    xmlns="http://namespaces.zope.org/zope"
+    i18n_domain="zope"
+    >
+
+  <include package="zope.security" />
+  <include package="zope.authentication" />
+  <include package="zope.principalregistry" />
+  <include package="zope.app.localpermission" />
+
+  <include file="globalmodules.zcml" />
+  <include file="_protections.zcml" />
+  <include file="standardpermissions.zcml" />
+
+</configure>

Deleted: zope.app.security/tags/3.7.0/src/zope/app/security/permission.py
===================================================================
--- zope.app.security/trunk/src/zope/app/security/permission.py	2009-03-13 21:33:03 UTC (rev 98057)
+++ zope.app.security/tags/3.7.0/src/zope/app/security/permission.py	2009-03-14 00:17:48 UTC (rev 98077)
@@ -1,26 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2009 Zope Corporation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""Backward compatibility imports for zope.localpermission.
-
-$Id$
-"""
-__docformat__ = 'restructuredtext'
-
-# BBB: the functionality was moved to zope.localpermission
-from zope.localpermission.permission import (
-    NULL_ID,
-    LocalPermission,
-    setIdOnActivation,
-    unsetIdOnDeactivation,
-    )

Copied: zope.app.security/tags/3.7.0/src/zope/app/security/permission.py (from rev 98062, zope.app.security/trunk/src/zope/app/security/permission.py)
===================================================================
--- zope.app.security/tags/3.7.0/src/zope/app/security/permission.py	                        (rev 0)
+++ zope.app.security/tags/3.7.0/src/zope/app/security/permission.py	2009-03-14 00:17:48 UTC (rev 98077)
@@ -0,0 +1,26 @@
+##############################################################################
+#
+# Copyright (c) 2009 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Backward compatibility imports for zope.app.localpermission.
+
+$Id$
+"""
+__docformat__ = 'restructuredtext'
+
+# BBB: the functionality was moved to zope.app.localpermission
+from zope.app.localpermission.permission import (
+    NULL_ID,
+    LocalPermission,
+    setIdOnActivation,
+    unsetIdOnDeactivation,
+    )

Deleted: zope.app.security/tags/3.7.0/src/zope/app/security/tests/test_permission.py
===================================================================
--- zope.app.security/trunk/src/zope/app/security/tests/test_permission.py	2009-03-13 21:33:03 UTC (rev 98057)
+++ zope.app.security/tags/3.7.0/src/zope/app/security/tests/test_permission.py	2009-03-14 00:17:48 UTC (rev 98077)
@@ -1,42 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2004 Zope Corporation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-##############################################################################
-"""Doctests for 'permission' module.
-
-$Id$
-"""
-import unittest
-from zope.testing import doctest
-
-def test_bbb_imports():
-    """
-    Let's test that backward-compatibility imports still work:
-    
-      >>> from zope.app.security import permission as old
-      >>> from zope.localpermission import permission as new
-    
-      >>> old.NULL_ID is new.NULL_ID
-      True
-      >>> old.LocalPermission is new.LocalPermission
-      True
-      >>> old.setIdOnActivation is new.setIdOnActivation
-      True
-      >>> old.unsetIdOnDeactivation is new.unsetIdOnDeactivation
-      True
-
-    """
-
-def test_suite():
-    return unittest.TestSuite((
-        doctest.DocTestSuite(),
-        ))

Copied: zope.app.security/tags/3.7.0/src/zope/app/security/tests/test_permission.py (from rev 98062, zope.app.security/trunk/src/zope/app/security/tests/test_permission.py)
===================================================================
--- zope.app.security/tags/3.7.0/src/zope/app/security/tests/test_permission.py	                        (rev 0)
+++ zope.app.security/tags/3.7.0/src/zope/app/security/tests/test_permission.py	2009-03-14 00:17:48 UTC (rev 98077)
@@ -0,0 +1,42 @@
+##############################################################################
+#
+# Copyright (c) 2004 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Doctests for 'permission' module.
+
+$Id$
+"""
+import unittest
+from zope.testing import doctest
+
+def test_bbb_imports():
+    """
+    Let's test that backward-compatibility imports still work:
+    
+      >>> from zope.app.security import permission as old
+      >>> from zope.app.localpermission import permission as new
+    
+      >>> old.NULL_ID is new.NULL_ID
+      True
+      >>> old.LocalPermission is new.LocalPermission
+      True
+      >>> old.setIdOnActivation is new.setIdOnActivation
+      True
+      >>> old.unsetIdOnDeactivation is new.unsetIdOnDeactivation
+      True
+
+    """
+
+def test_suite():
+    return unittest.TestSuite((
+        doctest.DocTestSuite(),
+        ))



More information about the Checkins mailing list