>
> How to hide "*[wiki]*" from non-wiki-editor users in my case?
>
I guess by now you can test auth methods to know if the logged in user has
the required permission and conditionally return another menu.
# controller
# I'd use auth.has_membership(role="<allowed_group>")
if auth.<test if user is allowed>:
return auth.wiki()
else:
return dict(message="Sorry. The wiki is no available")
Enabling/disabling menus is a todo for the wiki feature and is related to
the pending wiki.settings implementation (in roadmap).
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.