0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
This commit is contained in:
jacobtm 2019-11-15 14:50:25 +00:00 committed by Matt Westcott
parent a4d82affc3
commit 732a397d61

View File

@ -126,7 +126,7 @@ def remove_workflow(request, page_pk, workflow_pk=None):
def add_to_page(request, workflow_pk):
# Assign a "orkflow to a Page, including a confirmation step if the Page has a different Workflow assigned already.
# Assign a workflow to a Page, including a confirmation step if the Page has a different Workflow assigned already.
if not workflow_permission_policy.user_has_permission(request.user, 'add_to_page'):
raise PermissionDenied