make hasAccess in Action deprecated