summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2020-01-16 10:34:45 -0600
committerMichael Merickel <michael@merickel.org>2020-01-16 10:34:45 -0600
commit592cadd9c20ce410d9ab7b9a748ec59dff001f65 (patch)
tree2e4133bffc8363259afef49f8899402d17098246 /docs/api
parenta7f61dc1ae95ffddacccfb583fa7a8f6d294f4b9 (diff)
downloadpyramid-592cadd9c20ce410d9ab7b9a748ec59dff001f65.tar.gz
pyramid-592cadd9c20ce410d9ab7b9a748ec59dff001f65.tar.bz2
pyramid-592cadd9c20ce410d9ab7b9a748ec59dff001f65.zip
update docs with pyramid.authorizatio imports after syncing master
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/authorization.rst24
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/api/authorization.rst b/docs/api/authorization.rst
index 7bf245500..be040f055 100644
--- a/docs/api/authorization.rst
+++ b/docs/api/authorization.rst
@@ -19,6 +19,10 @@ Constants
granted to all requests. Its actual value is the string
``'system.Everyone'``.
+ .. versionadded:: 2.0
+
+ Moved from ``pyramid.security`` into ``pyramid.authorization``.
+
.. attribute:: Authenticated
The special principal id named ``Authenticated``. This principal id
@@ -26,6 +30,10 @@ Constants
principal id (according to the :term:`authentication policy`).
Its actual value is the string ``'system.Authenticated'``.
+ .. versionadded:: 2.0
+
+ Moved from ``pyramid.security`` into ``pyramid.authorization``.
+
.. attribute:: ALL_PERMISSIONS
An object that can be used as the ``permission`` member of an ACE
@@ -33,6 +41,10 @@ Constants
ACE that uses ``ALL_PERMISSIONS`` might be composed like so:
``('Deny', 'system.Everyone', ALL_PERMISSIONS)``.
+ .. versionadded:: 2.0
+
+ Moved from ``pyramid.security`` into ``pyramid.authorization``.
+
.. attribute:: DENY_ALL
A convenience shorthand ACE that defines ``('Deny',
@@ -40,6 +52,10 @@ Constants
last ACE in an ACL in systems that use an "inheriting" security
policy, representing the concept "don't inherit any other ACEs".
+ .. versionadded:: 2.0
+
+ Moved from ``pyramid.security`` into ``pyramid.authorization``.
+
Return Values
-------------
@@ -48,7 +64,15 @@ Return Values
.. automethod:: __new__
+ .. versionadded:: 2.0
+
+ Moved from ``pyramid.security`` into ``pyramid.authorization``.
+
.. autoclass:: ACLAllowed
:members: msg
.. automethod:: __new__
+
+ .. versionadded:: 2.0
+
+ Moved from ``pyramid.security`` into ``pyramid.authorization``.