How to check vendor access permissions for tenant data