[tests-only][full-ci] add test for federated user trying to update shared file after local user updates role