README.md 2.53 KB
Newer Older
1
IfAuthEx Plugin for DokuWiki
2
===
3
**Toggle DokuWiki page content based on users and groups with arbitrary boolean expressions.**  
4

5 6 7
**Latest release: v0.0, [download here](https://git.mittelab.org/proj/ifauthex-dokuwiki-plugin/-/jobs/artifacts/v0.0/raw/ifauthex.zip?job=package).**  
You can use the download link URL to install it on DokuWiki directly.

8 9
**GitHub mirror (issues and PR): [https://github.com/mittelab/ifauthex-dokuwiki-plugin](https://github.com/mittelab/ifauthex-dokuwiki-plugin)**  
Feel free to [open an issue](https://github.com/mittelab/ifauthex-dokuwiki-plugin/issues) or [make a pull request](https://github.com/mittelab/ifauthex-dokuwiki-plugin/pulls) here.
10

11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
**Documentation: [https://www.dokuwiki.org/plugin:ifauthex](https://www.dokuwiki.org/plugin:ifauthex)**

**Main repository: [https://git.mittelab.org/proj/ifauthex-dokuwiki-plugin](https://git.mittelab.org/proj/ifauthex-dokuwiki-plugin)**  
Development, testing and packaging happens on the main repo.

**Last commit:** [![pipeline status](https://git.mittelab.org/proj/ifauthex-dokuwiki-plugin/badges/master/pipeline.svg)](https://git.mittelab.org/proj/ifauthex-dokuwiki-plugin/commits/master)

Rationale
---
This plugin intends to replace the [IfAuth plugin](https://www.dokuwiki.org/plugin:ifauth), 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.

Plugin notes
27 28
---

29
All documentation for this plugin can be found at
30
[https://www.dokuwiki.org/plugin:ifauthex](https://www.dokuwiki.org/plugin:ifauthex)
31 32

If you install this plugin manually, make sure it is installed in
33
`lib/plugins/ifauthex/` - if the folder is called different it
34 35
will not work!

36
Please refer to [http://www.dokuwiki.org/plugins](http://www.dokuwiki.org/plugins) for additional info
37 38
on how to install plugins in DokuWiki.

39 40
---

41 42 43 44 45 46 47 48 49 50 51 52
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