added fallback for hasAccess