Admin Guide: xwiki - liquidinvestigations/docs GitHub Wiki

WikiJs is EIC network's collaborative knowledge base. A detailed guide to Wiki.js is available here: https://docs.requarks.io/.

Home Page permissions

Add permissions in the liquid investigations home page admin to allow groups and users to use the Wiki.js app.





Administration

Go to "Administer wiki" by clicking the menu button in the top right corner.



Create Groups

Under 'Users & Rights' in the admin menu there is the 'Groups' submenu to manage and create groups.



Click the 'Create group' button to create a new group.

Add user to group

Click edit user. In the form the first field is 'Users to add'. Clicking inside that fields will bring up a list of users.



Global rights for users and groups

In the admin menu under 'Users & Rights' there is the 'Rights' submenu that will bring up the menu to set global rights for users and groups. It is possible to set rights for viewing, editing, commenting, deleting and many more. Clicking once will allow the trait of that column, clicking a second time will deny it.

On top of the table for the rights there is a switch that let's you choose between right management for single users or groups.



Page level rights for users and groups

On a page, click the 3 dots to the right of the page title. Then click 'Administer page'.



Then click 'User & Rights' to get to the menu for rights management. There you can choose between rights for a single page or rights for a page and all its children.



Clicking on one of the options brings up the Permissions matrix where you can set permissions for users and groups on a page level.



Import from other wikis

Dokuwiki

There is a command available: ./liquid import-xwiki-from-dokuwiki. By default this will import the dokuwiki pages from /opt/node/volumes/dokuwiki/data/dokuwiki/data/pages. To use a custom path use the command with a flag:

./liquid import-xwiki-from-dokuwiki --dokuwiki-path /some/custom/path/to/pages.

Wiki.js

There is a command available: ./liquid import-xwiki-from-wikijs. By default this will import the pages from a Wiki.js instance on the same host. To do that follow the instructions given by the script. It is necessary to go to the wiki.js UI and dump the pages using their admin menu.

It is possible to download the Wiki.js pages manually and transfer them to another host:

  1. In the Wiki.js UI go to the admin interface
  2. Under 'Modules > Storage > Local File System': - edit Path: '/some/path/in/the/container' - click 'Activate' button (blue one, top right) - click 'Apply' button (green one, top right) - Press 'Dump all content to disk' at the bottom - Wait until the process is finished
  3. Find the container id and copy the directory to your host: docker cp <container-id>:<backup-path> <host-path>
  4. Now you could zip the directory copy it to another host, unzip it and restore with a custom path.

./liquid.py import-xwiki-from-wikijs --wikijs-files-path /some/path

Create existing users in xwiki

On first wiki creation, user database is empty Admin needs to execute script when running first time: ./liquid sync-users-with-xwiki

⚠️ **GitHub.com Fallback** ⚠️