comparison doc/admin_guide.txt @ 7979:ecb09e5d0bfa

docs: fix formatting.
author John Rouillard <rouilj@ieee.org>
date Tue, 21 May 2024 20:17:36 -0400
parents 749c9a58cfda
children eae83a32f564
comparison
equal deleted inserted replaced
7978:749c9a58cfda 7979:ecb09e5d0bfa
813 by advanced users. The endpoint for the roles list requires 813 by advanced users. The endpoint for the roles list requires
814 the user to have Admin rights. You can add your own roles 814 the user to have Admin rights. You can add your own roles
815 endpoint with a different authorization mechanism. The 815 endpoint with a different authorization mechanism. The
816 following code can be added to your tracker's interfaces.py. 816 following code can be added to your tracker's interfaces.py.
817 You can create this file if it doesn't exist. This code 817 You can create this file if it doesn't exist. This code
818 creates a new REST endpoint at `/rest/roles`:: 818 creates a new REST endpoint at ``/rest/roles``::
819 819
820 from roundup.rest import Routing, RestfulInstance, _data_decorator 820 from roundup.rest import Routing, RestfulInstance, _data_decorator
821 821
822 class RestfulInstance: 822 class RestfulInstance:
823 823

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