NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 30 Next »

Listing links so only users with permission can see them

To avoid creating lists of links that include pages users are not permitted to see, rely on Confluence to generate the list of links. The following illustrates this guideline.

Links generated by Confluence appear only for users with permissions to see the pages

Open this page (the Tiny Link to this page is https://wiki.nci.nih.gov/x/zYE1AQ) when you are not logged in. Keep it open, and in another browser window, log in and open this page.

The next content on this page is the "children macro" which lists the child pages of this page. There are two child pages (neither has any significant content).

When you are not logged in, you see one link in the list above.

If you are logged in and a member of the caBIG_USERS LDAP group, you see two links.

Links entered into the text appear for all users but do not open for users without permission to see the page

Whether you are logged in or not, you see this link: A Page Restricted to One Group.

  • If you click this link and you are logged in and a member of the caBIG_USERS group, the page opens.
  • If you are not a member of the group, a message opens indicating you are not permitted to see the page.
  • If you are not logged in, when you click the link, the login screen opens.
    • When you log in, the page opens if you are in the caBIG_USERS group
    • If you are not in the caBIG _USERS group, a message opens indicating you are not permitted to see the page.

Avoid the scrollbar macro in a series of pages where some are restricted

The scrollbar macro shows links to all the pages in the series, whether the user has permission to see the page or not. When a user without permissions to view a page clicks the link to that page, the not permitted message appears and the user cannot resume scrolling.

  • No labels