How to redirect user when his not permission to ask questions?

35 viewsCore
0

how can i redirect users when they not permission?
i don’t want to show a message, i want to redirect to an custom page.
// ap_question_page_permission_msg

Asked question