|
@@ -132,6 +132,7 @@ class HTMLDocumentController(Controller):
|
132
|
132
|
@hapic.handle_exception(InsufficientUserProfile, HTTPStatus.FORBIDDEN)
|
133
|
133
|
@hapic.handle_exception(WorkspaceNotFound, HTTPStatus.FORBIDDEN)
|
134
|
134
|
@hapic.handle_exception(AuthenticationFailed, HTTPStatus.BAD_REQUEST)
|
|
135
|
+ @require_workspace_role(UserRoleInWorkspace.CONTRIBUTOR)
|
135
|
136
|
@require_content_types([htmlpage_type])
|
136
|
137
|
@hapic.input_path(WorkspaceAndContentIdPathSchema())
|
137
|
138
|
@hapic.input_body(SetContentStatusSchema())
|