GithubHelp home page GithubHelp logo

cosmocode / aclinfo Goto Github PK

View Code? Open in Web Editor NEW
5.0 7.0 3.0 8 KB

A DokuWiki syntax plugin to show who has which permissions for the current page.

Home Page: http://www.dokuwiki.org/plugin:aclinfo

PHP 100.00%

aclinfo's Issues

Inherited permissions not reliably shown in pages in sub-namespaces?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.