hi,
I'm trying to use the builder-show macro in combination with permission=edit, but not getting the result I'd expected.
I've got the following in my wiki markup:
When I view the page with this content as an anonymous user, which cannot edit the page, I still see the text "permission=edit" appear.
I'm om Confluence 3.1 and the latest version of the Theme Builder plugin.
I could have sworn this worked before on Confluence 3.0 and an earlier version of Theme Builder, but I do not have that environment anymore to test it.
Hope someone can shed some light...
TIA,
P.
.png)








Comments (9)
Apr 08, 2010
P says:
Once again got fooled when pasting in wiki markup into the rich Text editor... ...Once again got fooled when pasting in wiki markup into the rich Text editor...
This is the wiki markup I have on my page:
{builder-show:permission=edit|withuser=@current}permission=edit{builder-show}
P.
Apr 08, 2010
Alain Moran says:
Wrap it in a {code} macro PS: withuser= is not compatible with permission=Wrap it in a {code} macro
PS: withuser= is not compatible with permission=
Apr 08, 2010
P says:
Sorry, I see that the second time I pasted it in, I forgot to remove the "|withu...Sorry, I see that the second time I pasted it in, I forgot to remove the "|withuser" part.
I only added that to test if that would make a difference, but it didn't...
So, the wiki markup I have is:
{builder-show:permission=edit}permission=edit{builder-show}(tnx for the code tip
)
Apr 08, 2010
P says:
Should this work, or am I missing the point on permissions for the builder-show ...Should this work, or am I missing the point on permissions for the builder-show macro?
P.
Apr 08, 2010
Alain Moran says:
Yes it does work ... I would suggest checking your permission scheme.Yes it does work ... I would suggest checking your permission scheme.
Apr 08, 2010
P says:
Well, Anonymous users, on Space level only have permissions to "View" and "To cr...Well, Anonymous users, on Space level only have permissions to "View" and "To create comments"
I would say that this would mean that they do not have edit permissions, or?
Apr 09, 2010
P says:
Hi Alain, I had my sys-admin fire up the VM where we had Confluence 3.0 runnin...Hi Alain,
I had my sys-admin fire up the VM where we had Confluence 3.0 running to test if this stuff worked in 3.0 and there it does work properly, with the same settings for anonymous users, but no matter what I try in Confluence 3.1, I cannot get the stuff to be hidden using "builder-show:permission=edit" for anonymous users.
Even on a simple page, with nothing more that the builder-show macro, the content within the macro is just visible to anonymous users who's only permission is to "View" pages and to "Create comments"
Bit lost here on what next to try...
Apr 09, 2010
Alain Moran says:
Aha ... you appear to have found a buglet This will be fixed in Builder 4.0.2 ...Aha ... you appear to have found a buglet
This will be fixed in Builder 4.0.2 which we expect to release next Wednesday.
Apr 09, 2010
P says:
Tnx for checking this out! P.Tnx for checking this out!
P.