Returning a 404 if user want to view map but has not a view_resourcebase permission