Forums

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

Disable Notifications for Specific Confluence Pages

John Wheeler
Contributor
January 7, 2014

I have a use case where there is a restricted confluence page containing sensitive information. Viewership is limited to a select few. This works well to keep the information contained on the page safe.

However, any time the page is updated all watchers get an email of the page contents. This means that the sensitive information has been sent out via email and the safety of it is then dependent on the safety of the email system. This can be more or less secure depending on a lot of factors, but it certainly distributes the information out to a lot of desktops automatically, which is inherently less secure than keeping it contained to the Confluence Wiki.

Is there a way to disable all change/delta notifications and summaries for a specific confluence page or project? Page specific notification exemptions controllable by the administrator is really what I am looking for.

Any Ideas?

-John

8 answers

3 votes
Stéphan Champagne December 17, 2019 edited

This is actually pretty important security wise. I am surprised Atlassian is doing nothing about it. A minimum would be the capacity to configure the notification to not send the content, but just the page name with the modifier's ID.

lakminglam July 1, 2020

Nothing from Atlassian can be a surprise to me anymore :-)

Like • None likes this
3 votes
jing_hwa_cheok
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 9, 2014

Hi John,


You can create a different space and move all your confidential content to that space. Then place the javascript below in your Space Tools >> Layour >> Page Layout.



<script type="text/javascript">
    AJS.toInit(function(){
          AJS.$('#notifyWatchers').attr('checked', false)
          AJS.$('#notifyWatchers').hide()
    });
</script>

This will uncheck the Notify User Checkbox and hide them to avoid user recheck the checkbox.

Regards,
Jing Hwa

nibeck June 26, 2015

Anyway to only do this for a specific page? Or m,maybe only do it if a specific Label/Tag were on the page "no-watch" or something like that.

James Wilson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 16, 2015

I wrote the following script, before I realized that there was nowhere to put it. We run OnDemand, and adding javascript to the page layout has been disabled in OnDemand. {code} <script type="text/javascript"> /** * Custom functionality to prevent sending notifications when * a page has been labeled with the 'sensitive' label. * * @author James Wilson <jrwilson3@gmail.com> * @date December 16, 2015 */ AJS.toInit(function(){ // Because page labels are not loaded by default when editing pages, // we must open the labels dialog and then quickly hide it, in order // to obtain the list of labels. AJS.Labels.openDialog(); AJS.$('.dialog-button-panel a').click(); var labels = $(".aui-label-split-main"); console.log(labels); // If the page has the 'sensitive' label, then // disable and hide the notifications. for(var j = 0; j < labels.length; j++ ){ if( $(labels[j]).html() == 'sensitive'){ console.log('found sensitive page, disabling notifications'); AJS.$('#notifyWatchers').attr('checked', false); AJS.$('#notifyWatchers').hide(); AJS.$('#notifyWatchers + label').hide(); break; } } } </script> {code}

2 votes
ann nex
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 3, 2020

Hello, I'm new to this space and have no programming knowledge so I will likely be using incorrect terminology.

I created a page for public view, however, there is information within that can only be seen by some, so I used an Excerpt Macro to help me with that and it worked really well.  The problem then is that Confluence will send updates to all those following the page and unfortunately the e-mail update includes all the sensitive information!  

I searched for a solution in the ATLASSIAN Community with no luck.

I eventually figured out how to work around this:  I first restricted the page's permission to just me, then proceeded to make all the editing/updates to the page, and once done, changed the page's permissions once more to allow others to read-only.  I tested with multiple users and they did not get any e-mail updates.

Anne EQS
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.
December 4, 2020

In case you have the possibility to add new apps, ServiceRockets Show-if macro might be woth a try: https://docs.servicerocket.com/visibility/macro-reference/show-if
Dat within the macro is displayed on the page, but only to the users or groups you've set to see it.

2 votes
Damian Nowak
Contributor
September 9, 2014

SSL connection to SMTP doesn't mean Gmail server will then use SSL to talk to other servers in the chain. You shouldn't trust Gmail they do it securely. Existing e-mail infastructure isn't secure by design.

0 votes
John Wheeler
Contributor
January 9, 2014

This sounds promising! Perhaps I am just being dense today but, I cannot seem to find the Layout Section in my on-demand installation using the Documentation Theme.

jing_hwa_cheok
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 9, 2014

Hi Karen,

Unfortunately, the layout customisation is only available for default look and feel theme.

0 votes
John Wheeler
Contributor
January 8, 2014

For the record, the closest I have been able to get is:

Ask that no-one watch the issue in Confluence. As administrators we can remove all watchers of a page. This is not enforcement, but it does stop the leaking.

0 votes
John Wheeler
Contributor
January 8, 2014

Thanks for the Reply Adrien,

1] I hear you about secure email systems. Although, security of data in email is only as secure as the client system that the data ends up on. My goal is to not have the change history of this page distributed to client systems, living on for who knows how long in email cache. While safety on the wire is important, I am mostly concerned with the perpetual record in a client email program like Outlook or Mail.app. This is the kind of user-space data that is a breeze for spyware to mine.

2] Regarding Stealth Instance: I have an on-demand account with many Jira projects and many Confluence spaces. Having a completely seperate account or instance with duplicate accounts and such to prevent dissemination of history for a single page seems like overkill.

This is a question, not a complaint. Is there any way to control this currently in Confluence on-demand settings?

If not I will turn it into a feature request :)

Thanks!

Adrien Ragot 2
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.
January 8, 2014

Hi Karen/John, I did hear your question and I only know about workarounds. If we don't get anyone else to provide an alternative answer, it's probably not a feature of Confluence

I don't think you will get lucky with a feature request because it doesn't sound like most Confluence users would benefit from it. However I'm not an Atlassian employee so this is not an official statement and do feel free to seek for comment from Atlassian's product managers.

If you had a download version of Confluence, there would excellent Experts around the world and one of them would certainly be happy to provide a custom solution for you. But I'm afraid they don't have as much control on OnDemand instances.

Best regards and let's hope someone else answers this question.

0 votes
Adrien Ragot 2
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.
January 7, 2014

Half-jokingly, get a secure email system.

Gmail allows sending email through SSL connections, so do most of email servers, so you can send mail securely to most domains. Concerning the non-safe domains, maybe you could prevent them from setting their email in Confluence?

The last solution is to have a separate instance for your stealth team. If what you're dealing about is so confidential, it may help isolate the data.

Regards,

Adrien

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events