plugin:authmantis
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:authmantis [2015-03-23 18:01] – Aleksandr | plugin:authmantis [2024-04-19 13:55] (current) – [FAQ] 82.135.123.115 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
- | author | + | author |
- | email : v.kunev@gmail.com | + | email : mantis-dev@lists.sourceforge.com |
type : Auth | type : Auth | ||
- | lastupdate : 2013-08-10 | + | lastupdate : 2020-06-14 |
- | compatible : Weatherwax, Hrun | + | compatible : Weatherwax, Hrun, Detritus, Elenor of Tsort, Frusterick Manners, Greebo, Hogfather, Igor, Jack Jackrum, Kaos+ |
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
- | tags : mantis | + | tags : mantis, authentication, |
- | downloadurl: | + | downloadurl: |
- | bugtracker : https:// | + | bugtracker : https:// |
- | sourcerepo : https:// | + | sourcerepo : https:// |
+ | donationurl: | ||
---- | ---- | ||
===== Description ===== | ===== Description ===== | ||
- | Uses [[http://www.mantisbt.org/ | + | This authentication plugin enables single sign-on to DokuWiki, using an external trust mechanism to |
+ | authenticate users against | ||
- | There is published description | + | It is based upon the original authentication back-end written by Victor Boctor back in 2006. |
+ | |||
+ | More information about integrating MantisBT with DokuWiki can be found on the [[https:// | ||
+ | |||
+ | ===== License ===== | ||
+ | |||
+ | This program is free software: you can redistribute it and/or modify | ||
+ | it under the terms of the | ||
+ | [[https:// | ||
+ | as published by the Free Software Foundation, either version 3 of the | ||
+ | License, or (at your option) any later version. | ||
+ | |||
+ | This program | ||
+ | but WITHOUT ANY WARRANTY; without even the implied warranty | ||
+ | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
+ | GNU General Public License for more details. | ||
===== Installation ===== | ===== Installation ===== | ||
- | Install the plugin using the [[plugin: | + | ==== Prerequisites ==== |
+ | This plugin requires access to a MantisBT instance located on the same server as DokuWiki. | ||
- | ===== Usage ===== | + | === DokuWiki compatibility |
- | ==== New setup ==== | + | |
- | - Follow sections | + | The plugin is compatible with DokuWiki release 2013-05-10 "Weatherwax" |
- | $conf[' | + | |
- | with | + | Older releases used [[: |
- | $conf[' | + | |
+ | === MantisBT compatibility === | ||
+ | |||
+ | MantisBT releases 1.2.x or later and 2.x are fully supported. | ||
+ | The plugin may work with earlier releases as well, but this has not been tested. | ||
+ | |||
+ | The [[https:// | ||
+ | |||
+ | ==== Setup ==== | ||
+ | |||
+ | Install the plugin following the [[:plugin_installation_instructions|standard process]], then proceed with the next 3 sections. | ||
+ | |||
+ | === Access Control List Configuration === | ||
+ | |||
+ | Setup ACL rules for groups as appropriate for your environment, | ||
+ | |||
+ | For example, with default MantisBT access levels your setup could be: | ||
+ | < | ||
+ | # MantisBT access levels | ||
+ | * @VIEWER | ||
+ | * @REPORTER | ||
+ | * @UPDATER | ||
+ | * @DEVELOPER | ||
+ | * @MANAGER | ||
+ | * @ADMINISTRATOR | ||
</ | </ | ||
- | - Install this plugin | ||
- | ==== Convert working backend setup ==== | + | In addition to the above, if you want anonymous, read-only access to your wiki for everyone (i.e. including non logged-in users), you could add |
- | | + | < |
- | - In / | + | * @ALL 1 |
- | | + | |
- | with | + | |
- | $conf[' | + | |
</ | </ | ||
+ | |||
+ | Please refer to [[: | ||
+ | |||
+ | === MantisBT Core Initialization === | ||
+ | |||
+ | Add the following lines to your '' | ||
+ | |||
+ | <code php local.protected.php> | ||
+ | # Path to the MantisBT root directory on the server | ||
+ | define( ' | ||
+ | require_once( MANTIS_ROOT . ' | ||
+ | </ | ||
+ | |||
+ | // | ||
+ | Note that this can't be done in the plugin (i.e. with a configuration option), due to conflicts with the declaration of utf8 compatibility functions between MantisBT core and DokuWiki, so the only option for now is to initialize the MantisBT core from the DokuWiki config file. | ||
+ | // | ||
+ | |||
+ | === Set the Authentication Back-End === | ||
+ | |||
+ | Now the // | ||
+ | |||
+ | - Open the DokuWiki // | ||
+ | - In the // | ||
+ | * **Check** //Use access control lists// | ||
+ | * Select **authmantis** as // | ||
+ | * Add **@ADMINISTRATOR** in the // | ||
+ | - **Save** the changes. | ||
+ | |||
+ | Alternatively, | ||
+ | <code php> | ||
+ | $conf[' | ||
+ | $conf[' | ||
+ | $conf[' | ||
+ | $conf[' | ||
+ | </ | ||
+ | |||
+ | ==== Content Security Policy ==== | ||
+ | |||
+ | MantisBT enables [[WP> | ||
+ | This can cause issues and prevent DokuWiki from functioning properly((https:// | ||
+ | |||
+ | To fix the problem, please **install the [[cspheader]] plugin**, and configure it as follows: | ||
+ | |||
+ | ^ Directive ^ Value ^ | ||
+ | | script-src | ''' | ||
+ | | style-src | ''' | ||
+ | | img-src | ''' | ||
+ | |||
+ | Other settings are left as default (specifically, | ||
+ | |||
+ | The above settings have been confirmed working with DokuWiki' | ||
+ | |||
+ | ===== Development ===== | ||
+ | |||
+ | === Revision history (Github releases) === | ||
+ | |||
+ | {{rss> | ||
+ | |||
+ | The complete [[https:// | ||
+ | |||
+ | |||
+ | === Recent commits === | ||
+ | |||
+ | {{rss> | ||
+ | |||
+ | Full [[https:// | ||
+ | |||
+ | === Known Bugs and Issues === | ||
+ | |||
+ | Please refer to the plugin' | ||
+ | |||
+ | |||
+ | ===== Credits ===== | ||
+ | |||
+ | This plugin is based on the Authentication back-end written by Victor Boctor, | ||
+ | published in the [[https:// | ||
+ | |||
+ | In August 2013, Ventzy Kunev [[plugin: | ||
+ | |||
+ | |||
+ | ===== FAQ ===== | ||
+ | |||
+ | ===== I locked myself out, what do I do now? ===== | ||
+ | |||
+ | - Edit your local configuration file '' | ||
+ | - Reset authentication to **authplain** < | ||
+ | $conf[' | ||
+ | </ | ||
+ | - Save the file | ||
+ |
plugin/authmantis.1427130107.txt.gz · Last modified: 2015-03-23 18:01 by Aleksandr