XWIKI-8581: The local admin of a subwiki should not be allowed to alter the index of entities outside that subwiki
(cherry picked from commit 3986ea74e27a6985c47acf35fa4a255ecbbe1070)