Skip to content
Snippets Groups Projects
Commit 83e26da2 authored by dcz's avatar dcz
Browse files

Lexcograf can reject a frame without approval of superlexicograf.

parent c3a5b798
Branches
No related merge requests found
......@@ -93,9 +93,9 @@ def frame_reject_as_not_matching_unified_frame(request, frame_pk):
@ajax(login_required=True, method='post')
@transaction.atomic
@permission_required('semantics.manage_invalid_lexical_units')
# @permission_required('semantics.manage_invalid_lexical_units')
def frame_confirm_as_not_matching_unified_frame(request, frame_pk):
frame = get_object_or_404(Frame.objects.filter(status=choices.FrameStatus.NOT_MATCHING_UNIFIED_FRAME).select_for_update(), pk=frame_pk)
frame = get_object_or_404(Frame.objects.select_for_update(), pk=frame_pk)
frame.status = choices.FrameStatus.NEW
frame.save()
removeSlovalFrameMappingsAndAssigments(frame_pk)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment