Toggle DokuWiki page content based on users and groups with arbitrary boolean expressions.
Latest release: v0.3, download here. You can use the download link URL to install it on DokuWiki directly.
GitHub mirror (issues and PR): https://github.com/mittelab/ifauthex-dokuwiki-plugin Feel free to open an issue or make a pull request here.
Documentation: https://www.dokuwiki.org/plugin:ifauthex
Main repository: https://git.mittelab.org/proj/ifauthex-dokuwiki-plugin Development, testing and packaging happens on the main repo.
This plugin intends to replace the IfAuth plugin, but
it's an independent reboot. IfAuth can only "or" different expressions, therefore it's not possible
to target expressions like @user && !@admin
. IfAuthEx fixes these limtations extending the syntax
to arbitrary boolean expression (in for a penny...), that uses PHP standard logical operators ||
,
&&
, !
, as well as parentheses.
All documentation for this plugin can be found at https://www.dokuwiki.org/plugin:ifauthex
If you install this plugin manually, make sure it is installed in
lib/plugins/ifauthex/
- if the folder is called different it
will not work!
Please refer to http://www.dokuwiki.org/plugins for additional info on how to install plugins in DokuWiki.
Copyright (C) Pietro Saccardi lizardm4@gmail.com
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
See the LICENSING file for details