Issue #446 by cableman: Added explicit return in permission check callback