Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Right sidebar and ACL #119

Closed
armanabraham opened this issue Nov 11, 2015 · 2 comments
Closed

Right sidebar and ACL #119

armanabraham opened this issue Nov 11, 2015 · 2 comments
Labels
Milestone

Comments

@armanabraham
Copy link

Hi Joseph,

I am trying to use the rightsidebar with ACL. Want the rightsidebar to appear only when user has access permission to the file "rightsidebar". However, when I setup ACL for rightsidebar, and try to load the page without logging in (no permission to access the rightsidebar), it throws "Permission Denied" page. Is it possible for the bootstrap3 to not display the rightsidebar when permissions do not allow.

Thank you,
Arman

@giterlizzi
Copy link
Owner

Hi Arman! You can write your ACL to replicate and test this issue ?
In my test i have the opposite behavior. I see the right sidebar in the page and permission denied when open the rightsidebar directly.

At your disposal,
Joseph

@giterlizzi giterlizzi added the bug label Nov 13, 2015
@armanabraham
Copy link
Author

Hi Joseph,

Indeed, after some fiddling, found that's what happens. My previous ACL setup was not correct. So confirming what you found - rightsidebar is visible as a sidebar, but permission is denied when opening rightsidebar directly.

Do you think it is possible to hide rightsidebar when permission for ALL is set to "None"?

Thank you,
Arman

@giterlizzi giterlizzi added this to the v2016-06 milestone Jun 28, 2016
giterlizzi added a commit that referenced this issue Jun 28, 2016
…vbar, etc) introduced with DokuWiki "Elenor of Tsort" release.

  * Added "useACL" (default: off) option for enable/disable ACL check

Thanks to @Digitalin on #223 and @armanabraham on #119.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants