Dokuwiki plugin denyactions
More info at https://www.dokuwiki.org/plugin:denyactions
To upgrade the plugin from earlier (from 2012) version, please uninstall the plugin first.
Dokuwiki plugin denyactions
Dokuwiki plugin denyactions
More info at https://www.dokuwiki.org/plugin:denyactions
To upgrade the plugin from earlier (from 2012) version, please uninstall the plugin first.
@oiv Hi... the denyrev doesn't seem to work. I have:
$conf['plugin']['denyactions']['denyactions'] = 'revisions';
$conf['plugin']['denyactions']['denyrev'] = 1;
But old revisions are still accessible to READ users.
In fact, I don't see how the action/*php are included?
In the export_*
-actions, $REV
is used, too. There it is without the TPL_ACT_RENDER
-event. Further, diffs can be shown in the feed. Maybe also old revisions of files might be an issue? This is probably yet another event. Probably it makes sense to hook into ACTION_ACT_PREPROCESS
to catch as many events from the main script as possible. Further, FETCH_MEDIA_STATUS
is needed for media files (they also have $REV
) and FEED_OPTS_POSTPROCESS
for the feed (disable diff
content if the diff action has been disabled).
I wonder also if some other actions should be disabled automatically when old revisions are disabled (like diff, recent, revisions) as otherwise disabling old revisions doesn't make much sense.
Thanks and best regards from Berlin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.