Set user and group rights to document in XWiki
问题 I'm writing a java component which build all the pages in a wiki. What would be the best way to assign the user rights or groups which may view the page or spaces from within the java service component? Really struggling to find details on this in the API. 回答1: You are finding no details in the API, because the Rights API is only about reading rights information, not setting rights If you want to set permissions on pages programatically, and you can assume that the default permission handler