if (grantAccess())
{
    dispatchToNextView();
}
else
{
    dispatchToAccessDeniedView();
}