[stable9.1] Simplify testPermissionMovedGroupShare (#25573) (#25607)
[stable9.1] Simplify testPermissionMovedGroupShare (#25573) (#25607)

Reduces significantly the testing time but still cover the permission
change
bluelml/core,cernbox/core,cernbox/core,bluelml/core,bluelml/core,bluelml/core,cernbox/core,bluelml/core,cernbox/core,cernbox/core