summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/src/tests/development.ini
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-08-15 22:49:59 -0400
committerChris McDonough <chrism@plope.com>2012-08-15 22:49:59 -0400
commit6b180cbb77d6c5bee0e75220d93fc1800d1217df (patch)
tree6f38dc8750b414da48639b72a48cc8b463565a72 /docs/tutorials/wiki2/src/tests/development.ini
parentcdcea948c3f6f3abbd1772500029066e80825082 (diff)
downloadpyramid-6b180cbb77d6c5bee0e75220d93fc1800d1217df.tar.gz
pyramid-6b180cbb77d6c5bee0e75220d93fc1800d1217df.tar.bz2
pyramid-6b180cbb77d6c5bee0e75220d93fc1800d1217df.zip
- An ``add_permission`` directive method was added to the Configurator. This
directive registers a free-standing permission introspectable into the Pyramid introspection system. Frameworks built atop Pyramid can thus use the the ``permissions`` introspectable category data to build a comprehensive list of permissions supported by a running system. Before this method was added, permissions were already registered in this introspectable category as a side effect of naming them in an ``add_view`` call, this method just makes it possible to arrange for a permission to be put into the ``permissions`` introspectable category without naming it along with an associated view. Here's an example of usage of ``add_permission``:: config = Configurator() config.add_permission('view')
Diffstat (limited to 'docs/tutorials/wiki2/src/tests/development.ini')
0 files changed, 0 insertions, 0 deletions