Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
SimpleNavi and ACL
Avatar
TheZangoose #1
Member since Oct 2018 · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: SimpleNavi and ACL
Hi all,

Trying to get my head around this. I have created a folder under /data/pages for a specific department. In there, there will be pages for that department. I've managed to get the ACL set so they have permissions to be able to read said pages but the navigation tree that is done by simplenavi is blank. Is there a way to be able to just show the department folder section I have created. Rather than the whole lot. As at the moment I can only figure out to make it show everything or nothing at all.

If that makes sense?

Thanks
Avatar
Michaelsy #2
Member since Jun 2015 · 940 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
Do you use the {{simplenavi>some:namespace}} option?
Has your namespace its own sidebar page?
Do you already checked the acl rights of the sidebar page?

Feedback welcome - Michael Sy.
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
This post was edited on 2018-10-19, 05:10 by Michaelsy.
Avatar
virk #3
Member since Aug 2008 · 609 posts · Location: Aachen, Germany
Group memberships: Members
Show profile · Link to this post
According to mine there are (at least) the following options:
1) Check "sneaky_index" in configuration, if not done already.
2) Give the plugin indexmenu a try;with that one you can adjust these "things" more accurately (there is an option in configuration then)
3) Rearrange namespaces, that you just can work with acl.
4) ...

Kind regards

Heiner
Avatar
pop #4
Member since Nov 2016 · 151 posts
Group memberships: Members
Show profile · Link to this post
The documentation for the SimpleNavi plugin mentions the start pages of the namespaces, although I can't quite understand how they are processed. Does your namespace include a start page?
Avatar
TheZangoose #5
Member since Oct 2018 · 3 posts
Group memberships: Members
Show profile · Link to this post
In reply to post #2
Quote by Michaelsy:
Do you use the {{simplenavi>some:namespace}} option?
Has your namespace its own sidebar page?
Do you already checked the acl rights of the sidebar page?

Feedback welcome - Michael Sy.

Hi,

I've tried {{simplenavi>some:namespace}} but I'm not sure which part of that I need to change to the actual name of the folder. For example the folder/namespace is called billing.

The namespace doesn't have it's own sidebar page at the moment I don't think? I have put a start.txt page in there though. Do I need a sidebar? If so, how do I do that.
Avatar
Michaelsy #6
Member since Jun 2015 · 940 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
Usually, navigations are placed in the sidebar. So I thought that was the case with you too. But that does not necessarily have to be the case.

Maybe you should read these articles:
https://www.dokuwiki.org/namespaces
https://www.dokuwiki.org/faq:sidebar
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
Avatar
Michaelsy #7
Member since Jun 2015 · 940 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
{{simplenavi>some:namespace}}

In this example, "some" is a namespace in the root. "namespace" is a namespace beneath the namespace "some".
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
Avatar
TheZangoose #8
Member since Oct 2018 · 3 posts
Group memberships: Members
Show profile · Link to this post
In reply to post #6
I have an entire navigation tree of all the pages already. I'm just trying to limit it so the "billing" section that has it's own section/namespace. Is only view able by users who are in a specific group name.
Avatar
Michaelsy #9
Member since Jun 2015 · 940 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
I'm not sure to understand you right. But maybe the hidepages option can help you: https://www.dokuwiki.org/config:hidepages

Maybe the plugin Acmenu is better for you, which explicitly considers the setting sneaky_index. (Whether SimpleNavi sneaky_index also considered I do not know.):

https://www.dokuwiki.org/config:sneaky_index
https://www.dokuwiki.org/plugin:acmenu

You can also use different navigation plugins in different sidebars.

Feedback welcome - Michael Sy.
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
This post was edited on 2018-10-19, 14:06 by Michaelsy.
Avatar
turnermm (Moderator) #10
Member since Oct 2009 · 4645 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
Indexmenu has an option which enables you to hide pages and/or namespaces.
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
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: 2019-06-25, 16:02:10 (UTC +02:00)