From c03dbcca24aeedfb688bf49b7ccfeef20f6f8298 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 25 Oct 2010 18:13:44 -0400 Subject: convert zcml docs to Pyramid --- docs/zcml/default_permission.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'docs/zcml/default_permission.rst') diff --git a/docs/zcml/default_permission.rst b/docs/zcml/default_permission.rst index 2bac99158..beb60db1a 100644 --- a/docs/zcml/default_permission.rst +++ b/docs/zcml/default_permission.rst @@ -21,8 +21,6 @@ There can be only one default permission active at a time within an application, thus the ``default_permission`` directive can only be used once in any particular set of ZCML. -.. note: This API is new as of :mod:`repoze.bfg` version 1.3. - Attributes ~~~~~~~~~~ @@ -45,11 +43,11 @@ Alternatives ~~~~~~~~~~~~ Using the ``default_permission`` argument to the -:class:`repoze.bfg.configuration.Configurator` constructor can be used +:class:`pyramid.configuration.Configurator` constructor can be used to achieve the same purpose. Using the -:meth:`repoze.bfg.configuration.Configurator.set_default_permission` +:meth:`pyramid.configuration.Configurator.set_default_permission` method can be used to achieve the same purpose when using imperative configuration. -- cgit v1.2.3