Filter users with permissions on a page

Hi there,

we got a fresh installed xwiki and I am new to xwiki. Is it possible, when you administer the page permissions to get persons listed, that already have permissions on the page?

Best regards
Sebastian

(I edited site permissions to page permissions)

I’m not sure we have an API to do this efficiently, but it should be pretty straightforward to get a list of all users and then check their permission and filter what you want.

With the velocity templating language,

https://www.xwiki.org/xwiki/bin/view/ScriptingDocumentation/?url=http:%2F%2Fnexus.xwiki.org%2Fnexus%2Fservice%2Flocal%2Frepositories%2Fpublic%2Farchive%2Forg%2Fxwiki%2Fplatform%2Fxwiki-platform-oldcore%2F16.4.4%2Fxwiki-platform-oldcore-16.4.4-javadoc.jar%2F!%2Fcom%2Fxpn%2Fxwiki%2Fplugin%2Frightsmanager%2FRightsManagerUsersApi.html
=> getAllUsers

should be a good starting point.

Good luck for your customization!
Lucas C.

Hi Lucas,

thank you for your advice. As I need this function fast, I found that the extension Page Rights Viewer does exactly what I need. Please note that I mistakenly asked for site wide permissions in my first version of my topic.

https://extensions.xwiki.org/xwiki/bin/view/Extension/Page%20Rights%20Viewer%20Application/

Best regards
Sebastian