summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/authorization.rst
AgeCommit message (Collapse)Author
2024-02-04update authorization chapterMichael Merickel
2021-01-08Synch viewing the app section with authentication.rstSteve Piercy
2020-11-07Remove `request.user` for wiki2 authorization tutorial.Theron Luhn
2020-01-16update docs with pyramid.authorizatio imports after syncing masterMichael Merickel
2020-01-09demonstrate an identity_cacheMichael Merickel
2020-01-06update authorization docs with new security policyMichael Merickel
2016-04-09- update wiki2/authorization stepSteve Piercy
2016-02-28Merge remote-tracking branch 'upstream/feature/alchemy-scaffold-update' into ↵Steve Piercy
feature/alchemy-scaffold-update
2016-02-28redirect to edit page when user attempts to add page that already existsSteve Piercy
- update src/*/views/default.py - update src/*/routes.py - write new test - revise docs, double-checking line counts and highlighting
2016-02-28fix some nitsMichael Merickel
2016-02-28wiki2 authorization (done)Steve Piercy
- 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
2016-02-18update the authorization chapterMichael Merickel
2016-02-07update authorization chapter of wiki2 tutorialMichael Merickel
2015-11-16- complete rewrite of wiki2/authorization.rstSteve Piercy
- add wiki2/src/authorization/ files - improve <title> tag in views/tutorial/templates/edit.jinja2
2015-11-15wiki2/authorization.rst - progress on models and security from module to ↵Steve Piercy
subpackage
2015-06-11Update authorization.rstorangieboot
Removed extra colons
2015-05-27- clean up and make consistent across wiki tutorialsSteve Piercy
- update templates and static assets for new design
2015-05-27- clean up and make consistent across both wikis authorization.rstSteve Piercy
- update templates and static assets to new theme
2015-05-25update templates, line numbers, file referencesSteve Piercy
2015-04-14fixed documentation; wrong line in docsAntti Haapala
2014-03-21- correct bad .rst syntaxSteve Piercy
2014-03-17Corrected inline markup to use * for italicsthapar
2014-03-17Added note to place login/logout route definitions before `/{pagename}` routethapar
Resolves https://github.com/Pylons/pyramid/issues/1274
2013-11-09undeprecate remember/forget functions and remove ↵Chris McDonough
remember_userid/forget_userid methods from request
2013-10-30fix wiki2 tutorial wrt request-method security APIsChris McDonough
2013-10-27Security APIs on pyramid.request.RequestMatt Russell
The pyramid.security Authorization API function has_permission is made available on the request. The pyramid.security Authentication API functions are now available as properties (unauthenticated_userid, authenticated_userid, effective_principals) and methods (remember_userid, forget_userid) on pyramid.request.Request. Backwards compatibility: For each of the APIs moved to request method or property, the original API in the pyramid.security module proxies to the request. Reworked tests to check module level b/c wrappers call through to mixins for each API. Tests that check no reg on request now do the right thing. Use a response callback to set the request headers for forget_userid and remember_userid. Update docs. Attempt to improve a documentation section referencing the pyramid.security.has_permission function in docs/narr/resources.rst Ensures backwards compatiblity for `pyramid.security.forget` and `pyramid.security.remember`.
2013-09-08fix merge conflictChris McDonough
2013-09-06Update line numbers as appropriateBert JW Regeer
Removing __init__ moved some code around, update the line numbers as appropriate so that the right sections of code get highlighted.
2013-09-06update the code in the wiki and wiki2 tutorials to use pyramid_chameleonMichael Merickel
2013-03-25make example links clickable, for convenienceTshepang Lekhonkhobe
2013-01-20point to the sources of the wiki tutorials in just one location; fix #763Tshepang Lekhonkhobe
* This avoids having to update the link multiple times. * Also, mention their location, in case user has Pyramid checkout.
2013-01-11Merge pull request #772 from tshepang/obviousChris McDonough
remove info that should be obvious to the reader
2013-01-11Merge pull request #771 from tshepang/loongChris McDonough
no need to display the entire path
2013-01-11Merge pull request #770 from tshepang/splitChris McDonough
sentence too long; also fix grammar, and add markup
2013-01-05remove info that should be obvious to the readerTshepang Lekhonkhobe
2013-01-05no need to display the entire pathTshepang Lekhonkhobe
2013-01-05sentence too long; also fix grammar, and add markupTshepang Lekhonkhobe
2013-01-05typoTshepang Lekhonkhobe
2012-12-01Sync models.py in SQL wiki tutorialPatricio Paez
- Update lines and emphasized-lines - No line numbers if only a single line
2012-12-01Sync __init__.py in SQL wiki tutorialPatricio Paez
- Update lines and emphasized-lines - No line numbers if only a single line
2012-11-04merged SHA512AuthTktAuthenticationPolicy into AuthTktAuthenticationPolicyMichael Merickel
AuthTktAuthenticationPolicy now accepts a hashalg parameter and is no longer deprecated. Docs recommend overriding hashalg and using 'sha512'.
2012-11-04fix docs, upgrade tutorials, add change note, deprecate using ↵Chris McDonough
zope.deprecation instead of a warning, make hashalg arg a kwarg in certain cases in case someone (maybe me) is using nonapi function imports from authentication
2012-09-22- Add ``Base.metadata.bind = engine`` to alchemy template, so that tablesChris McDonough
defined imperatively will work. - update wiki2 SQLA tutorial with the changes required after inserting ``Base.metadata.bind = engine`` into the alchemy scaffold.
2012-08-02closes #643Chris McDonough
2012-04-08Final detailsPatricio Paez
- Normalize the Seeing our changes section - Changed import to recommended style
2012-04-08Normalize Authorization in both tutorials 4Patricio Paez
- Sync content of Add login and logout views, Add the login.pt template, Return a logged_in flag, Add a logout link sections - Normalize sections of views.py
2012-04-08Normalize Authorization in both tutorials 3Patricio Paez
- Sync content in Adding Authentication and Authorization policies, Add permission declarations sections - Added mising permission=view in SQL tutorial - Moved __init__.py listing to Seeing our changes
2012-04-07Normalize Authorization in both tutorials 2Patricio Paez
- Sync content of Add users and groups, and Add an ACL. - Added yellow highlight to listings in Seeing our changes, added models.py
2012-04-07Ordered sections as per the summaryPatricio Paez
2012-04-07Normalize Authorization in both tutorials 1Patricio Paez
- Sync the content of the introduction and the Viewing the Application in a Browser sections - Sync the section structure