do not create policies if uri array is 0