cosmocode / aclinfo Goto Github PK
View Code? Open in Web Editor NEWA DokuWiki syntax plugin to show who has which permissions for the current page.
Home Page: http://www.dokuwiki.org/plugin:aclinfo
A DokuWiki syntax plugin to show who has which permissions for the current page.
Home Page: http://www.dokuwiki.org/plugin:aclinfo
I have a private Wiki using MySQL-based ACL. I have a number of groups, each of which have read-only access to group-specific namespaces, and each namespace has a tree of subnamespaces. ACLINFO in the Sidebar seems to only show a subset of the groups which have access to pages in subnamespaces.
My Namespace structure is similar to:
:internal
:external
:external:servicedealer:ns1
:external:servicedealer:ns2
:external:servicedealer:ns2:ns2.1
:external:distributor:ns1
:external:distributor:ns2
:external:group2:ns2:ns2.1
...and so on.
I have groups like:
@admin, delete everywhere of course
@contributor, upload everywhere
@staff, read everywhere
@subsidiary, ditto
@servicedealer, read in :external:servicedealer:*
@distributor, read in :external:distributor:*
...and so on.
My ACLINFO shows, typically, as below.
For :external:servicedealer:start
@servicedealer has read permissions
@staff has read permissions
@Administrator has delete permissions
@contributor has upload permissions
@subsidiary has read permissions
For :external:servicedealer:ns1:start
@staff has read permissions
@Administrator has delete permissions
@contributor has upload permissions
@subsidiary has read permissions
If I set up, as a test, a heirarchical tree like :playground:dist:sd:oem:retail, with each group having read access to their named namespace:*, then ACLINFO for:
.:oem:start lists @oem and @distributor but not @servicedealer
.:retail:start lists @Retailer and @servicedealer, but not @oem or @distributor
I am running Dokuwiki 20101107a installed (via Gentoo-Portage) with the ACL patch released a couple of months ago, whose bug I cannot currently find. ACLINFO is latest, updated via the Update control in the Admin Plugin Manager yesterday. I have ACLINFO running in a Sidebar as :
== Permissions info ==
NOCACHE
ACLINFO
I am using the Arctic template.
Plugin ACLauditor and the Admin ACL Manager show the expected ACL permissions.
Thanks.
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.