added view and acl support