I have a separate application which has its own users and permission system. I would like to restrict access to some xwiki spaces according to my app permissions. I overrided XWikiCachingRightService class and use checkAccess(String action, XWikiDocument doc, XWikiContext context) function. The problem I have is it's impossible to restrict access to search with this approach. I only need to restrict access to spaces with permissions. So, I need somehow make xwiki aware about my permissions (which spaces user can see). What XWiki java class can I use for this? ~
-- 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-tp7598878.html Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

