[tests-only][full-ci] add test to list permissions of a resource shared to a federated user
b7dc410e93