Changeset 5761
- Timestamp:
- 11/24/08 10:30:17 (2 months ago)
- Files:
-
- docs/2.0/docs/main/Auth/Customization.rst (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
docs/2.0/docs/main/Auth/Customization.rst
r5751 r5761 1 1 Customizing authentication and authorization 2 2 ============================================ 3 4 :Status: Official 5 6 Here you will learn how to customize the way TurboGears configures 7 :mod:`repoze.what` (and thus :mod:`repoze.who` indirectly) for you, using the 8 :mod:`repoze.what` SQL plugin. 9 3 10 4 11 Customizing the model structure assumed by the quickstart … … 318 325 319 326 320 Disabling the quickstart 321 ------------------------ 322 323 If you need more flexibility than that provided by the quickstart, you may 324 disable it by removing (or commenting) the following line from 327 Disabling authentication and authorization 328 ------------------------------------------ 329 330 If you need more flexibility than that provided by the quickstart, or you are 331 not going to use :mod:`repoze.who` and :mod:`repoze.what`, you should prevent 332 TurboGears from dealing with authentication/authorization by removing (or 333 commenting) the following line from 325 334 ``{yourproject}.config.app_cfg``:: 326 335 327 base_config.auth_backend = ' sqlalchemy'328 329 Then you may also want to delete those settings like ``base_config.sa_auth.*`` ,330 becausethey'll be ignored.336 base_config.auth_backend = '{whatever you find here}' 337 338 Then you may also want to delete those settings like ``base_config.sa_auth.*`` 339 -- they'll be ignored.