summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/authentication.rst
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-02-28 01:18:23 -0800
committerSteve Piercy <web@stevepiercy.com>2016-02-28 01:18:23 -0800
commitf99052e0790b8706161e432da0172b45a805d308 (patch)
treed81ede6be6b3415240ce9bd60f5d0bc3d3d21c4b /docs/tutorials/wiki2/authentication.rst
parentf63feb6c3f71f00389ce04f1100ae5675c748557 (diff)
downloadpyramid-f99052e0790b8706161e432da0172b45a805d308.tar.gz
pyramid-f99052e0790b8706161e432da0172b45a805d308.tar.bz2
pyramid-f99052e0790b8706161e432da0172b45a805d308.zip
wiki2 authorization (done)
- minor grammar and syntax - align order of bullet points for NewPage and PageResource with code - synch up "viewing app in browser" sections between authentication and authzn
Diffstat (limited to 'docs/tutorials/wiki2/authentication.rst')
-rw-r--r--docs/tutorials/wiki2/authentication.rst13
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/tutorials/wiki2/authentication.rst b/docs/tutorials/wiki2/authentication.rst
index 115f7f689..8d9855460 100644
--- a/docs/tutorials/wiki2/authentication.rst
+++ b/docs/tutorials/wiki2/authentication.rst
@@ -288,14 +288,15 @@ following URLs, checking that the result is as expected:
- http://localhost:6543/FrontPage/edit_page invokes the edit view for the
``FrontPage`` object. It is executable by only the ``editor`` user. If a
different user (or the anonymous user) invokes it, then a login form will be
- displayed. Supplying the credentials with the username ``editor``, password
- ``editor`` will display the edit page form.
+ displayed. Supplying the credentials with the username ``editor`` and
+ password ``editor`` will display the edit page form.
- http://localhost:6543/add_page/SomePageName invokes the add view for a page.
- It is executable by the ``editor`` or ``basic`` user. If a different user (or
- the anonymous user) invokes it, then a login form will be displayed.
- Supplying the credentials with the username ``basic``, password ``basic``,
- will display the edit page form.
+ It is executable by either the ``editor`` or ``basic`` user. If a different
+ user (or the anonymous user) invokes it, then a login form will be displayed.
+ Supplying the credentials with either the username ``editor`` and password
+ ``editor``, or username ``basic`` and password ``basic``, will display the
+ edit page form.
- http://localhost:6543/SomePageName/edit_page is editable by the ``basic``
user if the page was created by that user in the previous step. If, instead,