Add permissions tests affinitic refs 5910