A groovy/velocity script to list all users who can see/edit the current page

Hi, I need help to create a groovy script.

We have pages with restricted accessibility. I want to be sure that no other people can see. I need something “effective” right of the current page. I would like to put that script on the top level page and i can check if some misconfiguration happens.

Something like this Groovy Script to show all users of all groups with edit access - #3 by NorSch

thanks in advance,
Szabi

Do you need more than given by
XWiki Advanced Administration Tools.ShowRights ? (Ctrl G with “showrights”)

(A few years I wrote some code to extended the “more action” menu with a “show rights” entry to show detailed rights
But this will effect all files and it is written in german. If you want you can get the code)

1., XWiki Advanced Administration Tools.ShowRights is good for me! thank you to point that.

2., Iam still intrested in that “show rights” entry, if you could share with me. Or show me how can i start.

thx