diff --git a/docs2017/src/api/design_documents.md b/docs2017/src/api/design_documents.md index 5403916b654..fea1121137c 100644 --- a/docs2017/src/api/design_documents.md +++ b/docs2017/src/api/design_documents.md @@ -30,7 +30,7 @@ Design documents are used to [build indexes](#indexes), [validate updates](#upda - **Method**: `PUT /$DATABASE/_design/design-doc` - **Request**: JSON of the design document information - **Response**: JSON status -- **Roles permitted**: `_admin` +- **Roles permitted**: `_design` To create a design document, upload it to the specified database. @@ -125,7 +125,7 @@ _Example response to the copy request:_ - **Method**: `COPY /$DATABASE/_design/design-doc` - **Request**: None - **Response**: JSON describing the new document and revision. -- **Roles permitted**: `_writer` +- **Roles permitted**: `_design` - **Query Arguments**: - **Argument**: `rev` - **Description**: Revision to copy from. @@ -242,7 +242,7 @@ _Example response, containing the deleted document ID and revision:_ - **Method**: `DELETE /db/_design/design-doc` - **Request**: None - **Response**: JSON of deleted design document. -- **Roles permitted**: `_writer` +- **Roles permitted**: `_design` - **Query Arguments**: - **Argument**: `rev` - **Description**: Current revision of the document for validation.