highlight notes about permissions on API endpoints

Change-Id: I04d7ff33386af31f3ad84727366add2f462d2084
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
changes/19/534419/3
Doug Hellmann 5 years ago
parent 121cb32e08
commit 5b77f08c21

@ -145,7 +145,8 @@ class ProjectsController(rest.RestController):
@wsme_pecan.wsexpose(wmodels.Project, body=wmodels.Project)
def post(self, project):
"""Create a new project.
This command is only available to Admin users.
.. note:: This command is only available to Admin users.
Example::
@ -166,7 +167,8 @@ class ProjectsController(rest.RestController):
@wsme_pecan.wsexpose(wmodels.Project, int, body=wmodels.Project)
def put(self, project_id, project):
"""Modify this project.
This command is only available to Admin users.
.. note:: This command is only available to Admin users.
Example::

Loading…
Cancel
Save