[All Adaptavist Apps]

Page tree

Hi,

My builder-show macro is showing stuff even though I would expect it not to.

I've got the following setup:

 {builder-hide:title=Some page|recurse=true}
  {builder-show:permission=view|pagetitle=Some page}[Some description|Some page]\\
    {builder-show2:attachment=Some page.pdf}
      {set-flag:hasXXX}
      {set-flag:hasYYY}
    {builder-show2}
  {builder-show}
{builder-hide}

What I'm trying to achieve is have a page with links to other pages in my space and show only the links that a specific user has access to (and to hide the link to parent pages).
The page with link is included into other pages using the import macro.

When I'm viewing a page (that has the links page included with the import macro) as an anonymous user, the links to pages I do not have access to are shown. When I click the link, I'm directed to the login page, so clearly, I do not have access to it. Also, the link is rendered by confluence as a valid link, not as a missing page/broken link

What am I missing?

TIA,

P.

  • No labels

3 Comments

  1. Unknown User (p)

    pasting in wiki markup will of course not show you what I mean....

    Here it is again:
    {builder-hide:title=Some page|recurse=true}
    {builder-show:permission=view|pagetitle=Some page}[Some description|Some page]
    {builder-show2:attachment=Some page.pdf}
    {set-flag:hasDUG}
    {set-flag:hasPDFs}
    {builder-show2}
    {builder-show}
    {builder-hide}

    1. Unknown User (amoran)

      It's related to the fail-states which have been updated in 4.0

      1. Unknown User (p)

        Meaning what exactly? (smile)

        We're on 4.0.0-M5-conf3. Should m6 fix it?

        P.