Using AccessResult and corrected checkAccess doc