Use handle_no_permission instead of raising PermissionDenied #445

Open
opened 2021-05-16 16:39:50 +02:00 by leuckeju · 1 comment
Member

Instead of showing a 403 page the user should be redirected to the login, with an error message there.

Instead of showing a 403 page the user should be redirected to the login, with an error message there.
Owner

We must check this on a per-case basis. For example, right now, when logging in without an associated eprson, a login form is displayed instead of the dashboard, which is very irritating.

We must check this on a per-case basis. For example, right now, when logging in without an associated eprson, a login form is displayed instead of the dashboard, which is very irritating.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aleksis/AlekSIS-Core#445
No description provided.