Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Siteminder prevents "edit page" from working. Users must right click and "open in new tab/window"

Jeremy Swan
Contributor
August 28, 2020

We need to run siteminder for security. Any ideas how to work around this?

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 28, 2020

What is Siteminder doing to cause this? 

And what does it look like?  ("prevents edit from working" does not describe the symptoms, which probably isn't that important to your main question, but it might be useful to see what exactly is going wrong)

Jeremy Swan
Contributor
August 31, 2020

I don't know exactly what SiteMinder is blocking, but I think it's something with REST commands... I just figured out a hack workaround for the edit button not working (needing to right click and open in new tab/window)… I was adding some javascript to make the edit button open in a new tab (adding a target=blank to the edit link), when I noticed that you’d still have to click the edit button twice before it worked, then I remembered a hack I devised to mitigate a similar issue about 10 years ago: I added a second edit button and hid the first one through theme builder… Now it works and I don’t even need the javascript!

I'm using Adaptavist Theme Builder, but if I were using regular confluence, I'd try making a user macro with the following and put it in the header maybe (unless these web item macros are only enabled through theme builder?) : 

<span style="display:none">
<ac:structured-macro ac:name="web-item">
<ac:parameter ac:name="item">edit-page</ac:parameter>
<ac:parameter ac:name="section">system.content.button</ac:parameter>
<ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
<ac:rich-text-body>
<p>Edit Page</p>
</ac:rich-text-body>
</ac:structured-macro>
</span>

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events