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

ACL gestion #1

Closed
etienneboph opened this issue Dec 15, 2017 · 9 comments
Closed

ACL gestion #1

etienneboph opened this issue Dec 15, 2017 · 9 comments

Comments

@etienneboph
Copy link

Hi,

It could be great if an user didn't see pages he can't have access to.

Nevertheless, thank you for that great extension !

Best regards,

Etienne.

@xif-fr
Copy link
Owner

xif-fr commented Dec 29, 2017

Hi,
Normally catlist checks some ACLs when generating links. Could you point be a particular example / expected behavior ?

@etienneboph
Copy link
Author

Every pages appears when I put the following code :

<catlist -noHead -noAddPageButton -maxDepth:1>

Difference is that people who doesn't have right to read a page, have the name's page in black instead of the link. Like that :

catlist-acl

It could be better if pages for which we don't have access were hidden.

@xif-fr
Copy link
Owner

xif-fr commented Jan 4, 2018

Ok I see. I'll add an option for that when I'll have time, probably next week.

@etienneboph
Copy link
Author

That would be awesome ! Thank you very much.

@xif-fr
Copy link
Owner

xif-fr commented Jan 17, 2018

Hi, could you check if the hide_acl_nsnotr I added works for you (documented here : https://www.dokuwiki.org/plugin:catlist#global_options) ?

@etienneboph
Copy link
Author

I don't know why, but when I put "<catlist -noHead -noAddPageButton hide_acl_nsnotr>", I've got the following error : "hide_acl_nsnotr category doesn't exist".

@xif-fr
Copy link
Owner

xif-fr commented Jan 18, 2018

Ha, it's a global option. You can find it in your config manager. Maybe that's not what you wanted ?

@etienneboph
Copy link
Author

Oh! Excuse me, I didn't understand. It works perfectly! Thank you very much!

@xif-fr
Copy link
Owner

xif-fr commented Jan 18, 2018

Ok, I'll release this option in a new version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants