highlight notes about permissions on API endpoints
Change-Id: I04d7ff33386af31f3ad84727366add2f462d2084 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
121cb32e08
commit
5b77f08c21
@ -145,7 +145,8 @@ class ProjectsController(rest.RestController):
|
|||||||
@wsme_pecan.wsexpose(wmodels.Project, body=wmodels.Project)
|
@wsme_pecan.wsexpose(wmodels.Project, body=wmodels.Project)
|
||||||
def post(self, project):
|
def post(self, project):
|
||||||
"""Create a new project.
|
"""Create a new project.
|
||||||
This command is only available to Admin users.
|
|
||||||
|
.. note:: This command is only available to Admin users.
|
||||||
|
|
||||||
Example::
|
Example::
|
||||||
|
|
||||||
@ -166,7 +167,8 @@ class ProjectsController(rest.RestController):
|
|||||||
@wsme_pecan.wsexpose(wmodels.Project, int, body=wmodels.Project)
|
@wsme_pecan.wsexpose(wmodels.Project, int, body=wmodels.Project)
|
||||||
def put(self, project_id, project):
|
def put(self, project_id, project):
|
||||||
"""Modify this project.
|
"""Modify this project.
|
||||||
This command is only available to Admin users.
|
|
||||||
|
.. note:: This command is only available to Admin users.
|
||||||
|
|
||||||
Example::
|
Example::
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user