It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

disable copy feature

If we give users a read-only permission to a page then how can we prevent them from Copying the page? Can Copy option be surpressed?

3 answers

You can customize page layout and add this style:

#action-copy-page-link {display:none;}

This is a great work around, from the UI perspective.  You can also implement it at the space level.

Like Junio_Fernandes likes this

Or able it under user role, like confluence-administrators.

0 votes

No, you can't suppress it.  There's no point - even if you could get rid of copy, a user can still select, copy and paste the content into a new page.  The fact that they can read it makes it copy-able (horrible constructed word, I apologise, but I can't think of a better way to say it)

You could make the text uncopyable; not foolproof, but it would keep the honest people honest.

  1. Add a div macro and set the class to noselect.

  2. Cut all the text on the page and paste it into the body of the div macro
  3. Add a CSS Stylesheet macro with the following in the body (you could instead add this to Look and feel --> CSS):

    .noselect {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

327 views 9 7
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you