highlight notes about permissions on API endpoints

Change-Id: I04d7ff33386af31f3ad84727366add2f462d2084
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-01-16 14:20:14 -05:00
parent 121cb32e08
commit 5b77f08c21

View File

@ -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::