Skip to content
This repository was archived by the owner on May 29, 2024. It is now read-only.

Performance #88

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixing bewec issues with completed applications.
A completed application results in loss of update rights for the user.
Hence an authorization error is triggered on successfully completing
an application.
ThomasJunk committed Aug 2, 2017
commit 7648a4c8a4a0f865697f6954306d212989499feb
2 changes: 1 addition & 1 deletion ringo/views/request.py
Original file line number Diff line number Diff line change
@@ -329,7 +329,7 @@ def handle_redirect_on_success(request, backurl=None):
# the default submittbuttons with no special value we keep the
# old behavior.
return HTTPFound(location=backurl)
elif request.path.find("/create") > -1:
elif request.path.find("/create") > -1 or request.path.find("/update") > -1:
# Handle redirect after success.in case of a create.
# Check if the user is allowed to call the url after saving
if has_permission("update", item, request):