Loading...
 
Features / Usability

Features / Usability


Re: Re: Re: Re: Re: Re: Enable Wiki Features Only for Logged in Users

posts: 62

Hi Gary,

Yes, I have tried the same procedure. But, I am not able to hide these items from Anonymous users.
Could you please let me know which permissions should I try to give them. I have already tried, giving the "tiki_p_view" permissions only to the "Registered" users.

For example, to display the "Last Changes" feature only to the Registered users but not Anonymous I have given the "tiki_p_view" permissions to Registered users only.

Following are the details that I am using for the "Last Changes" menu item:

Name: Last Changes
URL: tiki-lastchanges.php
Sections: feature_wiki,feature_lastChanges
Permissions: tiki_p_view
Group: Registered
Type: Option
Position: 205

But, still every one can view these menu items on the site without logging on to the site.
Please review the above statistics and let me know what I can do to hide the "Last Changes" menu item from Anonymous users.

Regards,
Arun.



> Did you go to the Admin Menus page (tiki-admin_menus.php) and click on the options icon (tools) of the menu you want to modify?
>
> I assume you are talking about menu 42, called "Application menu" and described as "Main extensive navigation menu". If you click on its options icon, you will see at the bottom of the page that displays a table holding the menu items.
>
> You will have to click "next" at the page bottom to get to items further down the menu. Notice the "permissions" and "group" columns. You can click on the edit icon to modify a menu item, adding a group name (and perhaps also a permission). Adding these will limit the displaying of the item to that group. It isn't clear to me if you have followed this procedure already or not.
>
> — Gary

posts: 1811 Catalan Countries

Arun, try removing the tiki_p_view permission from the list (Anonymous group of users have this permissions, don't they?)

So, something like this:

> Name: Last Changes
> URL: tiki-lastchanges.php
> Sections: feature_wiki,feature_lastChanges
> Permissions:
> Group: Registered
> Type: Option
> Position: 205

If this solution succeeded, could you please explain it in the docs (Menus page), as a new section in the page? ("Allow XXX only under certain conditions"...)


posts: 4593 Japan

Try deleting "feature_lastChanges". I don't think this should be there, and it may be causing the display problem.

-- Gary