A couple more questions. 1. When I used my own implementation of XWikiCachingRightService I had access to XWikiContext (there is getRequest method and I could send request to the server with the same cookie) and I sent a request to my main app to get data. Can I get access to underlying request data in settler? I need a way to ask my main app about current permission. Can I use REST call inside settler? And it would be great if I can do it with credentials of current user. 2. Regarding SecurityCacheRulesInvalidator. Should I register my implementation of SecurityCacheRulesInvalidator in xwiki.properties or xwiki.cfg files? Or it should be only components.txt file where I registered other components?
-- View this message in context: http://xwiki.475771.n2.nabble.com/What-is-the-right-way-to-implement-XWiki-custom-permission-check-in-java-code-tp7598878p7599074.html Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

