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?
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.
Add a div macro and set the class to noselect.
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; }
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.
Or able it under user role, like confluence-administrators.
It looks like you're new here. Sign in or register to get started.