Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show "Not found" page if user lacks permission for entity (#4143)
Before this change, the user was redirected to the user's startpage, when fetching an entity failed with an http error code of 403 (obviously being the case for non-admin users only, admin users either get the entity or a 404). This results in an infinite redirect loop if the missing or non-permitted entity/resource is the same as the configured start page. With this change, the user is redirected to the already existing "Not found" page previously used to handle nonexisting resources. This also raises the user's attention that the configured start page is inaccessible. Fixes #4117 (cherry picked from commit c89f7d6)
- Loading branch information
1 parent
90a0457
commit 88efe5e
Showing
4 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters