Not logged in. · Lost password · Register
Forum: General Help and Support Plugins Plugin Wishlist RSS
Is there a plug-in which...
Avatar
AjaxOfTheRockies #1
Member since Dec 2017 · 18 posts
Group memberships: Members
Show profile · Link to this post
Subject: Is there a plug-in which...
I understand that the ACL can set access to a page and it is pretty straight-forward to configure.

Is there a plug-in that would allow me to restrict a section or line in a page?  Something like f'rinstance:

{visible:admin|this is a password or something sensitive}

which make the line between | and } only appear to folks in the admin group.

Don't care, obviously, about what the syntax is.  Just be able to have read-only folks not see something we would rather they not, but have it there for those, more privileged, of us.

Thoughts?

- a -
Avatar
LarsDW223 #2
Member since Sep 2014 · 265 posts
Group memberships: Members
Show profile · Link to this post
If the restricted section does not need to be part of the page you might try the include plugin, see https://www.dokuwiki.org/plugin:include.

What I mean is have a "main page" accessible to all, and include the section which is a page on it's own. You can set different permissions for the "section page". The include plugin should respect the ACL so the section is only included in the "main page" if the user has permission to view/read the "section page".

Might work but not very comfortable to handle.
Avatar
AjaxOfTheRockies #3
Member since Dec 2017 · 18 posts
Group memberships: Members
Show profile · Link to this post
That's a good idea.  I'll give it a shot and report back


Thanks!

- a -
Avatar
felix.wolfsteller #4
Member since Feb 2018 · 3 posts
Group memberships: Members
Show profile · Link to this post
Please use a better Subject for this thread. I had to read more or less completely to know that I don't have an answer.
Thank you
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2018-07-16, 18:22:53 (UTC +02:00)