comparison doc/reference.txt @ 7378:b4ac699c6282

Link to example section rather than page. Link to the section that is an example of using the documented parameter.
author John Rouillard <rouilj@ieee.org>
date Mon, 22 May 2023 11:04:38 -0400
parents 18bae0b2e74e
children cdb81976b8bc
comparison
equal deleted inserted replaced
7377:d6c688fee3e7 7378:b4ac699c6282
1867 (issue, query ....). 1867 (issue, query ....).
1868 1868
1869 ctx['permission'] the name of the permission (e.g. View, Edit...). 1869 ctx['permission'] the name of the permission (e.g. View, Edit...).
1870 1870
1871 The second form is preferred as it makes it easier to implement more 1871 The second form is preferred as it makes it easier to implement more
1872 complex permission schemes. An example of the use of ``ctx`` can be 1872 complex permission schemes. An `example in upgrading.html
1873 found in the ``upgrading.txt`` or `upgrading.html`_ document. 1873 <upgrading.html#enhancement-to-check-command-for-permissions>`_
1874 1874 shows the use of ``ctx``.
1875 .. _`upgrading.html`: upgrading.html
1876 1875
1877 Example Scenarios 1876 Example Scenarios
1878 ~~~~~~~~~~~~~~~~~ 1877 ~~~~~~~~~~~~~~~~~
1879 1878
1880 See the `examples <customizing.html#examples>`_ section for longer 1879 See the `examples <customizing.html#examples>`_ section for longer

Roundup Issue Tracker: http://roundup-tracker.org/