Oh, and the value must be 1 to enable.
On 03/21/2016 08:29 AM, Sergiu Dumitriu wrote:
That's an object property, so you can use a normal
page REST call to set it.
page: XWiki.XWikiPreferences
object: XWiki.XWikiPreferences[0]
property: authenticate_view / authenticate_edit
On 03/21/2016 08:07 AM, abtv wrote:
I would like to deny seen pages for unregistered
users. I can do it via the
following:
Choose `Administration` -> `Users & Groups` -> `Rights` then select
`Prevent unregistered users from viewing pages, regardless of the page or
space rights` and
`Prevent unregistered users from editing pages, regardless of the page or
space rights`.
But I would like to automate it while deploying xwiki. It means no user
interactions with UI. Is there any way to do it? Maybe, config file or via
java extension?