Welcome

Login to contribute. Register if you haven't yet.

Support Options

1. Search this site.
2. Make or vote for a Suggestion.
3. Post to Community Support.
3. Contact EditMe Support staff.

Stay Informed

Keep informed of product changes, tutorials and tips via EditMe's Blog and monthly newsletter.

How do "Registered" users access to the menu edit functionality without disclosing all of the other Groups Secure pages?

Q. [rmanaka - Mar 11, 2008] Relative N00b, so forgive if naive question...I have created a new wiki that has "public" pages for registered user and "private" pages based upon membership in a Group and its associated Policies.  I created a menu using the [[Include:text]] links and their associated secure menu pages. I turned on StickyPage Security for the site. Everything works great, except how do I give "Registered" users access to the menu edit functionality without disclosing all of the other Groups Secure pages [[Include:PageNames]]? i.e. If my menu page includes:

[Public Menu Option]

[[include:Company1PrivateMenu]]

[[include:Company2PrivateMenu]]

I don't necessarily want the Group Company1 to know that there are private menu pages (and discussions) for Company2. I would, however, like to allow them to edit their own public and private menus!

I temporarily killed the Menu options for all but Admins in the Newton Layout XSL using:

            <span id="menuTools" editme="if menu.canEdit">
            <span editme="if user.isAdmin">
            <h2>MENU TOOLS</h2>
            <p><a href="/_Edit?page-id=Menu">edit the menu</a><br/>
               <a href="/_Versions?page-id=Menu">menu version history</a><br/>
               <a href="/_Attachments?page=Menu">menu attachments</a>
               <br/><a href="/NewtonLayoutHelp">layout help page</a>
            </p>
            </span>
            </span>
But is there a technique that I can selectively turn on part of the main menu text (or branch to different submenu pages) based upon the user's Group Policy  if the user isRegistered?

Thanks!

A. [matt]  rmanaka, a simple way to handle this would be to provide an "Edit" link within the content of each private menu. For example, inside the content of [[include:Company1PrivateMenu]], make an Edit This Menu link. Another more dynamic way would be to construct this multi-section menu dynamically using code in the layout, but this would require a good understanding of EditMe's layout and scripting API. Our custom dev services could help you with this, too.