Access Keys:
Skip to content (Access Key - 0)

Community Forum Closure Notification

Adaptavist would like to extend our thanks to all of the forum visitors who have used the Adaptavist Community forums to post questions about our plugins.
In order to improve our plugin support, Adaptavist are upgrading the way that we deal with support queries. Since Monday the 25th February 2013, these forums were closed and will remain in read-only format. We will continue to deal with support queries via a contact form which will send all queries directly to our support engineers. If you have any questions or comments regarding this change, please reach out to us on plugin-support@adaptavist.com
Please keep a look out for our upcoming blogging area for updates and news on our plugins.

<< Back to Topics


Simple help with hiding or showing with builder macros

Theme Builder - Question, asked by NW on Feb 27, 2012 22:25

Current Status: Awaiting Review

 

Having some serious trouble just getting what I would think would be basic functionality out of the builder-show macro.

I have a list of links to pages, all in the same place. Some of these pages have page-level view restrictions set.

When someone is looking at this list of links, I would like them to not be able to see the pages they do not have view permissions for. I would like to accomplish this using the builder-show or builder-hide or whichever it is that is supposed to work for this sort of situation.

I have tried endless combinations of parameters for both, testing them on a link that the user account would have access to and a link the user account would NOT have access to. What ends up happening is that either both are hidden or neither are.

What on earth is the correct syntax for this macro if you want it to check whether or not the logged-in user has view access for a page and shows the content in the macro accordingly?

This is not group-wide restrictions. Many of these pages have their page-level permissions set using individuals, not groups.

Please, please advise. I feel like this should be simple!


or log in to vote and add or reply to topics.


Adaptavist Theme Builder Powered by Atlassian Confluence